misnomer assets -> styles

This commit is contained in:
AJ ONeal 2015-01-14 06:09:37 -05:00
parent 89badfb670
commit b8afb242a3
1 changed files with 3 additions and 3 deletions

View File

@ -363,7 +363,7 @@
, root: root
, assets: assets
};
desi.assets = [];
desi.styles = [];
return desi;
});
@ -744,7 +744,7 @@
}
, title: view.site.title
}
, assets: view.desi.assets.join('\n')
, styles: view.desi.styles.join('\n')
, widgets: {
comments: view.site.disqus_shortname &&
Mustache.render(view.desi.partials.disqus, { disqus: {
@ -912,7 +912,7 @@
compiled.push({ contents: entity.body || entity.contents, path: path.join('themes', entity.path) });
if (/stylesheets.*\.css/.test(entity.path) && (!/google/.test(entity.path) || /obsid/.test(entity.path))) {
// TODO XXX move to a partial
desi.assets.push(
desi.styles.push(
'<link href="' + path.join(env.base_path, '/themes/', entity.path) + '" type="text/css" rel="stylesheet" media="all">'
);
}