fixed stylesheet embedding
This commit is contained in:
parent
c65ebfc809
commit
065c344c03
5 changed files with 192 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue