maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (Jira)" <j...@apache.org>
Subject [jira] [Commented] (MSKINS-101) Remove decorationModel/custom/publishDate from skin.vm
Date Tue, 24 Dec 2019 17:22:00 GMT

    [ https://issues.apache.org/jira/browse/MSKINS-101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17002934#comment-17002934
] 

Michael Osipov commented on MSKINS-101:
---------------------------------------

That is true. It will need a bit more work than that.

> 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
>
> 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.3.4#803005)

Mime
View raw message