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/14 11:03:04 UTC
[shiro-site] branch jbake updated: fix og:tag (multiple needed,
one per tag).
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 2738355 fix og:tag (multiple needed, one per tag).
new 9bdf72b Merge pull request #121 from bmarwell/jbake
2738355 is described below
commit 2738355c70521a2b4a3ad104e39840a24b6997e8
Author: Benjamin Marwell <bm...@apache.org>
AuthorDate: Wed Oct 13 22:32:55 2021 +0200
fix og:tag (multiple needed, one per tag).
---
jbake/templates/header.ftl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/jbake/templates/header.ftl b/jbake/templates/header.ftl
index a260910..364738d 100644
--- a/jbake/templates/header.ftl
+++ b/jbake/templates/header.ftl
@@ -71,7 +71,9 @@
<meta property="og:type" content="website"/>
</#switch>
<#if (content.tags)??>
- <meta property="article:tag" content='${content.tags?join(",")}'/>
+ <#list (content.tags) as tag>
+ <meta property="article:tag" content='${tag}'/>
+ </#list>
</#if>
<meta property="og:locale" content="en_US" />
<#if content?? && (content.type)?? && (content.type) == "page">