diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2019-10-22 14:07:37 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2019-10-22 14:07:37 +0200 |
| commit | f80585cc72088839f982b490602eb3e468869ca7 (patch) | |
| tree | da804078cfb89ad854951a69a6d8db0a71879675 /site.tmpl | |
| parent | d59b8258a875c51a6fc046aa13506f9c4151aef8 (diff) | |
| download | mitjafelicijan.com-f80585cc72088839f982b490602eb3e468869ca7.tar.gz | |
Added new lighter code theme and added cache busting with ?v
Diffstat (limited to 'site.tmpl')
| -rw-r--r-- | site.tmpl | 7 |
1 files changed, 3 insertions, 4 deletions
| @@ -12,8 +12,8 @@ | |||
| 12 | <link rel="preconnect" href="https://www.google-analytics.com"> | 12 | <link rel="preconnect" href="https://www.google-analytics.com"> |
| 13 | 13 | ||
| 14 | <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" }}"> |
| 15 | <link rel="stylesheet" type="text/css" href="{{ .Rel "static/style.css" }}"> | 15 | <link rel="stylesheet" type="text/css" href="{{ .Rel "static/style.css" }}?v={{ .ModTime.Format "20060102150405" }}"> |
| 16 | <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" }}?v={{ .ModTime.Format "20060102150405" }}"> |
| 17 | 17 | ||
| 18 | <title>{{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Other.Title }}</title> | 18 | <title>{{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Other.Title }}</title> |
| 19 | <meta name="author" content="{{ html .Site.Other.Author }}"> | 19 | <meta name="author" content="{{ html .Site.Other.Author }}"> |
| @@ -57,7 +57,7 @@ | |||
| 57 | {{end}} | 57 | {{end}} |
| 58 | 58 | ||
| 59 | {{define "modified"}} | 59 | {{define "modified"}} |
| 60 | <p class="modified">Modified on {{ .ModTime }}</p> | 60 | <p class="modified">Modified on {{ .ModTime.Format "2006-01-02T15:04:05" }}</p> |
| 61 | {{end}} | 61 | {{end}} |
| 62 | 62 | ||
| 63 | {{ define "page" }} | 63 | {{ define "page" }} |
| @@ -111,7 +111,6 @@ | |||
| 111 | {{ end }} | 111 | {{ end }} |
| 112 | 112 | ||
| 113 | {{ define "prism" }} | 113 | {{ define "prism" }} |
| 114 | <link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.17.1/themes/prism-solarizedlight.min.css" rel="stylesheet"> | ||
| 115 | <script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.17.1/components/prism-core.min.js"></script> | 114 | <script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.17.1/components/prism-core.min.js"></script> |
| 116 | <script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.17.1/plugins/autoloader/prism-autoloader.min.js"></script> | 115 | <script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.17.1/plugins/autoloader/prism-autoloader.min.js"></script> |
| 117 | {{ end }} | 116 | {{ end }} |
