|
|
|
@ -2,6 +2,7 @@
|
|
|
|
|
|
|
|
|
|
{{ $author := slice }}
|
|
|
|
|
{{ $authors := partial "paige/func-authors.html" $page }}
|
|
|
|
|
{{ $color := $page.Param `paige.site.color` | default `#0d6efd` }}
|
|
|
|
|
{{ $description := $page.Description | markdownify | plainify | htmlUnescape }}
|
|
|
|
|
{{ $keywords := slice }}
|
|
|
|
|
|
|
|
|
@ -47,14 +48,14 @@
|
|
|
|
|
<meta content="{{ . }}" name="keywords">
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
<meta content="{{ $page.Param `paige.site.color` | default `#0d6efd` }}" name="msapplication-TileColor">
|
|
|
|
|
<meta content="{{ $color }}" name="msapplication-TileColor">
|
|
|
|
|
|
|
|
|
|
{{ if fileExists "assets/browserconfig.xml" }}
|
|
|
|
|
<meta content="{{ (resources.Get `browserconfig.xml` | resources.ExecuteAsTemplate `browserconfig.xml` .).RelPermalink }}" name="msapplication-config">
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
<meta content="https://github.com/willfaught/paige" name="theme">
|
|
|
|
|
<meta content="{{ $page.Param `paige.site.color` | default `#0d6efd` }}" name="theme-color">
|
|
|
|
|
<meta content="{{ $color }}" name="theme-color">
|
|
|
|
|
<meta content="width=device-width, initial-scale=1" name="viewport">
|
|
|
|
|
|
|
|
|
|
{{ template "_internal/opengraph.html" $page }}
|
|
|
|
|