summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-01-29 15:08:50 +0100
committerMateja <mail@matejamaric.com>2021-01-29 15:08:50 +0100
commitefa71ff90fb0fe6727d9b2fc2cb496a1ea514951 (patch)
tree2a73ef0a38e9c7358de602d13f04169536b4ca25 /layouts
parentb5a0fb94e079399aee32ac69d97349520f2654eb (diff)
downloadblog-efa71ff90fb0fe6727d9b2fc2cb496a1ea514951.tar.gz
blog-efa71ff90fb0fe6727d9b2fc2cb496a1ea514951.zip
Remove keywords and add descriptions.
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/baseof.html10
1 files changed, 2 insertions, 8 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index b21c8df..4a0c152 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -9,17 +9,11 @@
{{ if .Description }}
<meta name="description" content="{{ .Description }}">
{{ end }}
-
- {{ if .Keywords }}
- <meta name="keywords" content="{{ .Keywords }}">
- {{ end }}
-
{{ if .PublishDate }}
- <meta property="article:published_time" content="{{ .Date }}" />
+ <meta property="article:published_time" content="{{ .Date.Format `2006-01-02T15:04:05Z0700` }}" />
{{ end }}
-
{{ if .Lastmod }}
- <meta property="article:modified_time" content="{{ .Lastmod }}" />
+ <meta property="article:modified_time" content="{{ .Lastmod.Format `2006-01-02T15:04:05Z0700` }}" />
{{ end }}
<link rel="canonical" href="{{ .Permalink }}" />