+ {{ block "content" . }}{{ end }}
+
- {{ template "_internal/twitter_cards.html" . }}
- {{ template "_internal/opengraph.html" . }}
+ {{ partial "footer.html" . }}
+ diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index badb8df..818a10a 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -108,4 +108,5 @@ - [Xiaoyang Luo](https://github.com/ccviolett/) - [Michiel Appelman](https://appelman.se) - [Mark Wood](https://digitalnotions.net) +- [John Feminella](https://jxf.me) - [zzsqwq](https://zzsqwq.cn) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 6b2238d..d29d508 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,160 +1,71 @@ +{{ partial "head.html" . }} -
- - - +{{ $csClass := "colorscheme-light" }} +{{ if eq .Site.Params.colorScheme "dark" }} +{{ $csClass = "colorscheme-dark" }} +{{ else if eq .Site.Params.colorScheme "auto" }} +{{ $csClass = "colorscheme-auto" }} +{{ end }} - {{ if .Site.Params.csp }} - {{ partial "csp.html" . }} - {{ end }} + + {{ partial "float" . }} +