Files
cocoa-eh-hugo-theme/layouts/_default/single.html
Michael Noronha ae37b77a67 Finalize any-page comment changes
- If `blogs` isn't set in the config file, `blog` is treated as a blog, to
avoid breaking existing sites
- If it is, only sections listed are treated as blogs, possibly
excluding `blog`
- Differences include comments, but also hn/lobsters links, time to
read, and tags (possibly non-exhaustive)
2018-06-16 23:51:32 -05:00

10 lines
262 B
HTML

{{ partial "header.html" . }}
{{ if (or (in .Site.Params.blogs .Section) (and (eq "blog" .Section) (not (isset .Site.Params "blogs")))) }}
{{ partial "blog_single.html" . }}
{{ else }}
{{ partial "base_single.html" . }}
{{ end }}
{{ partial "footer.html" . }}