Display Site/Page titles
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
{{ define "title" }}SWP - {{ .Page.Title }}{{ end }}
|
||||
|
||||
{{ define "main" }}
|
||||
<h2>{{ .Date.Format "2006-01-02" }}</h2>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user