projects
/
squeep-html-template-helper
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a2c0e2f
)
fix custom css loading
author
Justin Wind
<justin.wind+git@gmail.com>
Thu, 3 Nov 2022 19:11:24 +0000
(12:11 -0700)
committer
Justin Wind
<justin.wind+git@gmail.com>
Thu, 3 Nov 2022 19:11:24 +0000
(12:11 -0700)
lib/template-helper.js
patch
|
blob
|
history
diff --git
a/lib/template-helper.js
b/lib/template-helper.js
index 2a218f88020c3542a5bc24dffe849293f748c76b..c72e0ed348415d2c8adf6f1366b1639330819f65 100644
(file)
--- a/
lib/template-helper.js
+++ b/
lib/template-helper.js
@@
-160,8
+160,8
@@
function htmlHead(pagePathLevel, ctx, options) {
return `\t<head>
\t\t<meta charset="utf-8">
\t\t<meta name="viewport" content="width=device-width,initial-scale=1">
return `\t<head>
\t\t<meta charset="utf-8">
\t\t<meta name="viewport" content="width=device-width,initial-scale=1">
-\t\t<link rel="stylesheet" href="${rootPathPfx}static/theme.css"
title="Default"
>
-\t\t<link rel="stylesheet" href="${rootPathPfx}static/custom.css"
title="Site Specific"
>
+\t\t<link rel="stylesheet" href="${rootPathPfx}static/theme.css">
+\t\t<link rel="stylesheet" href="${rootPathPfx}static/custom.css">
${headElements.map((e) => '\t\t' + e).join('\n')}
\t\t<title>${pageTitle}</title>
\t</head>`;
${headElements.map((e) => '\t\t' + e).join('\n')}
\t\t<title>${pageTitle}</title>
\t</head>`;