This is an automated email from the ASF dual-hosted git repository. bmarwell pushed a commit to branch jbake in repository https://gitbox.apache.org/repos/asf/shiro-site.git
commit ed49e67daa4f31ceda9e2f857c93c8c15891a149 Author: Benjamin Marwell <[email protected]> AuthorDate: Fri Oct 22 13:25:48 2021 +0200 add publish_date --- jbake/templates/header.ftl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jbake/templates/header.ftl b/jbake/templates/header.ftl index 133a3cb..467bc37 100644 --- a/jbake/templates/header.ftl +++ b/jbake/templates/header.ftl @@ -56,6 +56,7 @@ <#case "post"> <#if (content.date)??> <meta property="article:published_time" content="${content.date?date?string.iso}"/> + <meta name="publish_date" property="og:publish_date" content="${content.date?date?string.iso}"/> </#if> <#if (content.author!"") != ""> <#assign authors = data.get('authors.yaml').authors> @@ -86,6 +87,7 @@ </#if> <#if (content.published_date)??> <meta property="article:published_time" content="${content.published_date?date?string.iso}"/> + <meta name="publish_date" property="og:publish_date" content="${content.published_date?date?string.iso}"/> </#if> <#break> <#default>
