aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/polaris/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'themes/polaris/layouts/_default')
-rw-r--r--themes/polaris/layouts/_default/baseof.html19
-rw-r--r--themes/polaris/layouts/_default/single.html2
2 files changed, 6 insertions, 15 deletions
diff --git a/themes/polaris/layouts/_default/baseof.html b/themes/polaris/layouts/_default/baseof.html
index 37a6059..3c052ea 100644
--- a/themes/polaris/layouts/_default/baseof.html
+++ b/themes/polaris/layouts/_default/baseof.html
@@ -11,30 +11,21 @@
<meta charset="utf-8">
<title>{{ $pageTitle }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="icon" href="{{ .Site.Params.iconURL }}">
- {{ with resources.Get "css/noto-serif.css" | minify | fingerprint }}
- <link rel="stylesheet" href="{{ .Permalink }}">
- {{ end }}
{{ with resources.Get "css/style.css" | minify | fingerprint }}
- <link rel="stylesheet" href="{{ .Permalink }}">
+ <link rel="stylesheet" href="{{ .Permalink }}">
{{ end }}
<meta property="og:title" content="{{ $pageTitle }}">
<meta property="og:url" content="{{ .Page.RelPermalink }}">
- <meta property="og:image" content="{{ .Site.Params.iconURL }}">
<meta property="og:site_name" content="{{ .Site.Title }}">
<meta property="og:description" content="{{ .Site.Params.subtext }}">
</head>
<body>
- <nav>
- {{ partial "nav.html" . }}
- </nav>
- <main>
+ {{ partial "header.html" . }}
+ <div class="content">
{{ block "main" . }}
- {{ .Content }}
+ {{ . }}
{{ end }}
- </main>
- <footer>
{{ partial "footer.html" . }}
- </footer>
+ </div>
</body>
</html>
diff --git a/themes/polaris/layouts/_default/single.html b/themes/polaris/layouts/_default/single.html
index 56b9d9d..f059c55 100644
--- a/themes/polaris/layouts/_default/single.html
+++ b/themes/polaris/layouts/_default/single.html
@@ -8,7 +8,7 @@
{{ end }}
{{ end }}
{{ if or (eq .Section "posts") (.Params.toc) }}
- {{ with .TableOfContents }}{{ . }}{{ end }}
+ {{ partial "toc.html" . }}
{{ end }}
{{ .Content }}
{{ end }}