You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by bm...@apache.org on 2021/10/15 12:28:45 UTC
[shiro-site] branch jbake updated: always include og:url.
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
The following commit(s) were added to refs/heads/jbake by this push:
new a83436f always include og:url.
a83436f is described below
commit a83436f69b4ef9bfbf252ee5484b1ddee0117cb3
Author: Benjamin Marwell <bm...@apache.org>
AuthorDate: Fri Oct 15 14:26:48 2021 +0200
always include og:url.
---
jbake/templates/header.ftl | 2 --
1 file changed, 2 deletions(-)
diff --git a/jbake/templates/header.ftl b/jbake/templates/header.ftl
index e402828..855c136 100644
--- a/jbake/templates/header.ftl
+++ b/jbake/templates/header.ftl
@@ -84,9 +84,7 @@
</#list>
</#if>
<meta property="og:locale" content="en_US" />
- <#if content?? && (content.type)?? && (content.type) == "page">
<meta property="og:url" content='${config.site_host}/${content.uri}'/>
- <#else></#if>
<#-- custom featured image if it exists or default featured image. -->
<#if (content.featuredimage)?? >
<#if (content.featuredimage)?starts_with("http")>