diff options
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index e5b0ed0..d91f60f 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,6 +4,8 @@ {{ $title := print .Title " - " .Site.Title }} {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} <title>{{ $title | title }}</title> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" type="text/css" href="/stylesheets/highlight.css"> <link rel="stylesheet" type="text/css" href="/stylesheets/style.css"> {{- block "head" . }}{{- end }} @@ -13,7 +15,7 @@ <a id="homelink" href="/">{{ .Site.Title }}</a> <span id="title">{{ .Title }}</span> <div id="menu"> - {{- range site.Menus.main }} + {{- range sort site.Menus.main "Weight" }} <a href="{{ .URL }}">{{ .Name }}</a> {{- end }} </div> @@ -26,7 +28,10 @@ <div id="sharing"> <a><img src="/icons/rss_feed_24dp_78A75A_FILL0_wght400_GRAD0_opsz24.svg" /></a> </div> - <span id="copyright">© Tim Keller 2024</span> + {{ if .Site.Params.copyright.include }} + <span id="copyright">© {{ time.Now.Year }} {{ .Site.Params.copyright.name }} – {{ .Site.Params.copyright.type }}</span> + {{ end }} + {{ partial "theme-copyright.html" . }} </footer> </body> </html> |