aboutsummaryrefslogtreecommitdiff
path: root/site.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'site.tmpl')
-rw-r--r--site.tmpl12
1 files changed, 9 insertions, 3 deletions
diff --git a/site.tmpl b/site.tmpl
index c01d40f..3d7a1a6 100644
--- a/site.tmpl
+++ b/site.tmpl
@@ -11,13 +11,14 @@
11 11
12 <link rel="preconnect" href="https://www.google-analytics.com"> 12 <link rel="preconnect" href="https://www.google-analytics.com">
13 13
14 <meta name="author" content="{{ html .Site.Other.Author }}">
15 <link rel="alternate" type="application/atom+xml" title="{{ html .Site.Other.Title }} feed" href="{{ .Rel "feed.atom" }}"> 14 <link rel="alternate" type="application/atom+xml" title="{{ html .Site.Other.Title }} feed" href="{{ .Rel "feed.atom" }}">
16 <title>{{ .Site.Other.Title }}{{ if .Title }}: {{ .Title }}{{ end }}</title>
17 <link rel="stylesheet" type="text/css" href="{{ .Rel "static/style.css" }}"> 15 <link rel="stylesheet" type="text/css" href="{{ .Rel "static/style.css" }}">
18
19 <link rel="icon" type="image/png" href="{{ .Rel "static/avatar-64x64.png" }}"> 16 <link rel="icon" type="image/png" href="{{ .Rel "static/avatar-64x64.png" }}">
20 17
18 <title>{{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Other.Title }}</title>
19 <meta name="author" content="{{ html .Site.Other.Author }}">
20 <meta name="description" content="{{ if .Other.Description }}{{ .Other.Description }}{{ else }}{{ html .Site.Other.Description }}{{ end }}">
21
21 </head> 22 </head>
22 <body> 23 <body>
23 <main> 24 <main>
@@ -49,6 +50,10 @@
49 </time> 50 </time>
50{{end}} 51{{end}}
51 52
53{{define "modified"}}
54 <p class="modified">Modified on {{ .ModTime }}</p>
55{{end}}
56
52{{ define "page" }} 57{{ define "page" }}
53 {{ template "header" . }} 58 {{ template "header" . }}
54 {{ template "navigation" . }} 59 {{ template "navigation" . }}
@@ -71,6 +76,7 @@
71 {{ .Content }} 76 {{ .Content }}
72 </section> 77 </section>
73 </article> 78 </article>
79 {{ template "modified" . }}
74{{ end }} 80{{ end }}
75 81
76{{ define "mathjax" }} 82{{ define "mathjax" }}