Changes for page BlogPostLayoutIDoc
Last modified by Administrator on 03.08.2023 14:17
From version 10.5
edited by Administrator
on 18.09.2017 07:43
on 18.09.2017 07:43
Change comment:
There is no comment for this version
To version 10.2
edited by Administrator
on 18.09.2017 07:38
on 18.09.2017 07:38
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -52,6 +52,8 @@ 52 52 #end 53 53 #if ($displayCalendar)(% class="blogDay" %)(((#end 54 54 #if ($displayCalendar && $displayCalendarImage)#displayBlogDate($postDate)#end 55 + 56 + 55 55 ## #displayEntry($postDoc $postObj $useSummary $displayTitle $displayActions) 56 56 ## #macro(displayEntry $entryDoc $entryObj $onlyExtract $shouldDisplayTitle $shouldDisplayActions) 57 57 #isPublished($postObj $isPublished) ... ... @@ -75,30 +75,11 @@ 75 75 #end 76 76 #end 77 77 #displayEntryContent($postDoc $postObj $useSummary) 78 -## #displayEntryFooter($postDoc $postObj) 79 - 80 -## #macro(displayEntryFooter $entryDoc $entryObj) 81 - (% class="entry-footer" %)((( 82 - #isPublished($postObj $isPublished) 83 - (% class='entry-author-label' %) 84 - #if($isPublished) 85 - {{translation key='blog.code.postedby'/}} ## 86 - #else 87 - {{translation key='blog.code.createdby'/}} ## 88 - #end 89 - {{html wiki="false" clean="false"}}<span class='author vcard'>#userfn($postDoc.creator)</span>{{/html}} ## 90 - #getEntryDate($postDoc $postObj $entryDate) 91 - #listCategories($postObj) #* 92 - ## Since the publish date and update date are not set at the exact same time, there could be a small difference that 93 - ## we assume cannot be more than 3 seconds. 94 - *#(% class="separator" %)·(%%) [[{{translation key='blog.code.permalink'/}}>>$postDoc||rel="bookmark"]] ## 95 - (% class="separator" %)·(%%) [[{{translation key='blog.code.comments'/}}>>$postDoc||anchor="Comments"]] (% class="itemCount" %)($postDoc.comments.size())(%%) ## 96 - )))## entry-footer 97 -## #end 98 - 99 - 80 + #displayEntryFooter($postDoc $postObj) 100 100 )))## hentry 101 101 ## #end 83 + 84 + 102 102 #if ($displayCalendar))))#end 103 103 #else 104 104 {{error}}$services.localization.render('blog.blogpostlayout.notpost', [$xcontext.macro.params.reference]){{/error}}