mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-03 08:22:42 +00:00
cleanup
This commit is contained in:
@@ -261,7 +261,7 @@ const api = {
|
|||||||
req.params.renderer: This is the Markdown+ version for the static theme. If a
|
req.params.renderer: This is the Markdown+ version for the static theme. If a
|
||||||
User theme the value will come from the User Theme metadata.
|
User theme the value will come from the User Theme metadata.
|
||||||
*/
|
*/
|
||||||
let parentReq = {};
|
|
||||||
let currentTheme;
|
let currentTheme;
|
||||||
const completeStyles = [];
|
const completeStyles = [];
|
||||||
const completeSnippets = [];
|
const completeSnippets = [];
|
||||||
@@ -283,7 +283,6 @@ const api = {
|
|||||||
}
|
}
|
||||||
//=== Static Themes ===//
|
//=== Static Themes ===//
|
||||||
else {
|
else {
|
||||||
|
|
||||||
// NOTE: This currently makes NO attempt to do anything with Static theme Snippets. Loading of static snippets remains unchanged.
|
// NOTE: This currently makes NO attempt to do anything with Static theme Snippets. Loading of static snippets remains unchanged.
|
||||||
const localStyle = `@import url(\"/themes/${req.params.renderer}/${req.params.id}/style.css\");`;
|
const localStyle = `@import url(\"/themes/${req.params.renderer}/${req.params.id}/style.css\");`;
|
||||||
completeStyles.push(`/* From Theme ${req.params.id} */\n\n${localStyle}`);
|
completeStyles.push(`/* From Theme ${req.params.id} */\n\n${localStyle}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user