aboutsummaryrefslogtreecommitdiff
path: root/generators/hugo/themes/tdro
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2019-09-20 12:18:55 -0400
committerThedro Neely <thedroneely@gmail.com>2019-09-20 12:18:55 -0400
commitffe410acbfb332452c29e6b7c77aca13be308dbc (patch)
tree6f4b31b24900ec07aa422b4bdde26dbf1a36a550 /generators/hugo/themes/tdro
parente0b02ad370900d3e6e0cc94d58c7dbce94bb9c43 (diff)
downloadthedroneely.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/hugo/themes/tdro')
-rw-r--r--generators/hugo/themes/tdro/layouts/partials/head.html2
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">