mirror of
https://code.rocketnine.space/tslocum/gmitohtml.git
synced 2024-05-18 10:24:23 +02:00
Allow developers to reference CSS
This commit is contained in:
parent
f71136c1a5
commit
dd70c77b18
|
@ -37,8 +37,8 @@ const pageFooter = `
|
||||||
</html>
|
</html>
|
||||||
`
|
`
|
||||||
|
|
||||||
func loadAssets() {
|
// StyleCSS specifies page styling.
|
||||||
fs["/assets/style.css"] = loadFile("style.css", `
|
const StyleCSS = `
|
||||||
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
||||||
|
|
||||||
/* Document
|
/* Document
|
||||||
|
@ -482,5 +482,8 @@ template {
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`, fs)
|
`
|
||||||
|
|
||||||
|
func loadAssets() {
|
||||||
|
fs["/assets/style.css"] = loadFile("style.css", StyleCSS, fs)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue