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/01/15 19:36:00 UTC
[jira] [Updated] (MSKINS-101) Remove decorationModel/custom/publishDate from skin.vm
[ https://issues.apache.org/jira/browse/MSKINS-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov updated MSKINS-101:
----------------------------------
Fix Version/s: wontfix-candidate
> Remove decorationModel/custom/publishDate from skin.vm
> ------------------------------------------------------
>
> Key: MSKINS-101
> URL: https://issues.apache.org/jira/browse/MSKINS-101
> Project: Maven Skins
> Issue Type: Improvement
> Components: Default Skin, Fluido Skin
> Reporter: Michael Osipov
> Priority: Minor
> Labels: GoodForNewContributors
> Fix For: wontfix-candidate
>
>
> 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)