Specfying a link of a brand log in header at GaidenConfig.groovy
nobeans opened this issue · 3 comments
nobeans commented
brandLogoLink = 'http://xxxxxx'
//brandLogoLink = 'index.html'
//brandLogoLink = '/index.html'
just output as <a href="SPECIFIED_VALUE">
in layout.html.
yamkazu commented
The next version, you can write any value to "config.groovy". The value can be referenced in the layout file:
${config.brandLogoLink}
Additionally, the next version support a setting for a top page. The top page is specified in the "config.groovy". If it is not specified the first page of the TOC will be used automatically.
It can be used in the layout file as follows:
<a href="${topPage.path}">$title</a>
nobeans commented
IMHO,it seems nice the name of the page is 'home page' not but 'top page.'
yamkazu commented
OK. I modify like that.