diff options
author | Mateja <mail@matejamaric.com> | 2021-01-29 15:08:50 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2021-01-29 15:08:50 +0100 |
commit | efa71ff90fb0fe6727d9b2fc2cb496a1ea514951 (patch) | |
tree | 2a73ef0a38e9c7358de602d13f04169536b4ca25 /layouts | |
parent | b5a0fb94e079399aee32ac69d97349520f2654eb (diff) | |
download | blog-efa71ff90fb0fe6727d9b2fc2cb496a1ea514951.tar.gz blog-efa71ff90fb0fe6727d9b2fc2cb496a1ea514951.zip |
Remove keywords and add descriptions.
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/baseof.html | 10 |
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 }}" /> |