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

Hervé Boutemy commented on DOXIASITETOOLS-144:
----------------------------------------------

ok for {{default-site-macros.vm}}: yes, that's more clear

now, I didn't manage to do it because Velocity seems to fail when the current 
{{default-site.vm}} is split...

> split default-site.vm into 2 parts: default-site.vm and default-macros.vm
> -------------------------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-144
>                 URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-144
>             Project: Maven Doxia Sitetools
>          Issue Type: Wish
>          Components: Site renderer
>    Affects Versions: 1.6
>            Reporter: Hervé Boutemy
>
> {{default-site.vm}} starts with a bunch of macro definitions: this makes the 
> real HTML template hard to find, at the end of the file
> putting these macro definitions into a separate file like 
> {{default-macros.vm}} and parsing it from {{default-site.vm}} with some 
> {{#parse( "default-macros.vm" )}} would IMHO improve maintenance



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to