mirror of
https://github.com/taigrr/homer
synced 2025-01-18 04:53:12 -08:00
🔧 Make stylesheet config be an array of files
This commit is contained in:
@@ -161,7 +161,11 @@ export default {
|
||||
this.services = this.config.services;
|
||||
document.title = `${this.config.title} | ${this.config.subtitle}`;
|
||||
if (this.config.stylesheet) {
|
||||
this.createStylesheet(`@import "${this.config.stylesheet}";`);
|
||||
let stylesheet = '';
|
||||
for (const file of this.config.stylesheet) {
|
||||
stylesheet += `@import "${file}";`;
|
||||
}
|
||||
this.createStylesheet(stylesheet);
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user