diff options
author | Thedro Neely <thedroneely@gmail.com> | 2019-09-20 12:18:55 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2019-09-20 12:18:55 -0400 |
commit | ffe410acbfb332452c29e6b7c77aca13be308dbc (patch) | |
tree | 6f4b31b24900ec07aa422b4bdde26dbf1a36a550 /generators | |
parent | e0b02ad370900d3e6e0cc94d58c7dbce94bb9c43 (diff) | |
download | thedroneely.com-ffe410acbfb332452c29e6b7c77aca13be308dbc.tar.gz thedroneely.com-ffe410acbfb332452c29e6b7c77aca13be308dbc.tar.bz2 thedroneely.com-ffe410acbfb332452c29e6b7c77aca13be308dbc.zip |
hugo/layouts/partials/head: Add article published and last modified meta tags
Diffstat (limited to 'generators')
-rw-r--r-- | generators/hugo/themes/tdro/layouts/partials/head.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/generators/hugo/themes/tdro/layouts/partials/head.html b/generators/hugo/themes/tdro/layouts/partials/head.html index 956e6ac..b23db43 100644 --- a/generators/hugo/themes/tdro/layouts/partials/head.html +++ b/generators/hugo/themes/tdro/layouts/partials/head.html @@ -20,6 +20,8 @@ <meta property="og:url" content="{{ .Permalink }}"> <meta property="og:image" content="{{ partial "article-image.html" . -}}"> <meta property="og:type" content="website"> +<meta property="article:published_time" content="{{ .Params.date }}"> +<meta property="article:modified_time " content="{{ if .Params.updated }}{{ .Params.updated }}{{ else }}{{ .Params.date }}{{ end }}"> <!-- Twitter Meta Tags --> <meta name="twitter:card" content="summary_large_image"> |