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/22 11:27:08 UTC

[shiro-site] branch jbake updated (8738332 -> ed49e67)

This is an automated email from the ASF dual-hosted git repository.

bmarwell pushed a change to branch jbake
in repository https://gitbox.apache.org/repos/asf/shiro-site.git.


 discard 8738332  add publish_date
     new ed49e67  add publish_date

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (8738332)
            \
             N -- N -- N   refs/heads/jbake (ed49e67)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 jbake/templates/header.ftl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

[shiro-site] 01/01: add publish_date

Posted by bm...@apache.org.
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 <bm...@apache.org>
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>