diff options
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 }}" /> |