Display Site/Page titles

This commit is contained in:
2026-04-18 14:52:46 +02:00
parent 4a994a292c
commit eacdd254fb
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
<meta property="og:type" content="{{ block "og_type" . }}website{{ end }}">
<meta property="og:url" content="{{ .Page.Permalink }}">
<title>{{ block "title" . }}{{ .Page.Title }}{{ end }}</title>
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
<style>
body {
+2
View File
@@ -1,3 +1,5 @@
{{ define "title" }}SWP - {{ .Page.Title }}{{ end }}
{{ define "main" }}
<h2>{{ .Date.Format "2006-01-02" }}</h2>