diff options
Diffstat (limited to 'themes/default/layouts/partials/base-head.html')
-rw-r--r-- | themes/default/layouts/partials/base-head.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/layouts/partials/base-head.html b/themes/default/layouts/partials/base-head.html index 2757f29..9decdac 100644 --- a/themes/default/layouts/partials/base-head.html +++ b/themes/default/layouts/partials/base-head.html @@ -33,8 +33,8 @@ <meta property="og:url" content="{{ .Permalink }}" /> <meta property="og:image" content="{{ .Site.BaseURL }}/{{ $author.user -}}/media/profile/picture.png" /> <meta property="og:type" content="website" /> -<meta property="article:published_time" content="{{ .Params.PublishDate }}" /> -<meta property="article:modified_time " content="{{ .Params.LastMod }}" /> +<meta property="article:published_time" content="{{ (or .Params.PublishDate now.UTC) | time.Format "2006-01-02T15:04:05Z" }}" /> +<meta property="article:modified_time " content="{{ (or .Params.LastMod now.UTC) | time.Format "2006-01-02T15:04:05Z" }}" /> <!-- Twitter Meta Tags --> <meta name="twitter:card" content="summary_large_image" /> |