You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/02/12 18:33:00 UTC
[jira] [Closed] (MSKINS-101) Remove decorationModel/custom/publishDate from skin-macros.vm
[ https://issues.apache.org/jira/browse/MSKINS-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MSKINS-101.
---------------------------------
Resolution: Fixed
Fixed with [f18b1d5bc29d47db8fd83ac2cdfb729b41a9832c|https://gitbox.apache.org/repos/asf?p=maven-fluido-skin.git;a=commit;h=f18b1d5bc29d47db8fd83ac2cdfb729b41a9832c].
> Remove decorationModel/custom/publishDate from skin-macros.vm
> -------------------------------------------------------------
>
> Key: MSKINS-101
> URL: https://issues.apache.org/jira/browse/MSKINS-101
> Project: Maven Skins
> Issue Type: Task
> Components: Fluido Skin
> Reporter: Michael Osipov
> Assignee: Michael Osipov
> Priority: Minor
> Labels: GoodForNewContributors
> Fix For: fluido-2.0.0-M3
>
>
> This snippet
> {code}
> #elseif ( $decoration.custom.getChild( 'publishDate' ) )
> #set ( $dateValue = $decoration.custom.getChild( 'publishDate' ).getValue() )
> {code}
> is built into every {{site.vm}} but never documented. Since docs are lacking, {{publishDate}} is calculated automatically or should be provided by the {{siteRenderingContext}}, remove it from templates.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)