fixed stylesheet embedding

This commit is contained in:
Daniel Fichtinger 2024-11-28 18:44:47 -05:00
parent c65ebfc809
commit 065c344c03
5 changed files with 192 additions and 14 deletions

View file

@ -60,7 +60,7 @@ func buildPageData(m Metadata, path string, settings *Settings) *PageData {
if style, ok := m["style"].(string); ok {
p.Stylesheet = style
} else {
p.Stylesheet = settings.StylesheetName
p.Stylesheet = settings.StylePath
}
if header, ok := m["header"].(string); ok {
p.HeaderName = header