开发者

How do you embed XHTML into APT file when using Maven to generate a site?

开发者 https://www.devze.com 2022-12-13 19:19 出处:网络
I am using maven to g开发者_运维问答enerate a website for a Java project, which uses APT \"Almost Plain Text\" as a wiki like markup. Maven takes this and turns it into XHTML.

I am using maven to g开发者_运维问答enerate a website for a Java project, which uses APT "Almost Plain Text" as a wiki like markup. Maven takes this and turns it into XHTML.

I already have a custom template/skin that I am using for the site, but the index page will have a couple of extra custom design elements that are beyond the capabilities of APT. So how can you add xhtml to the apt file so that it gets correctly embedded in the final output?

Thanks.


This does not appear possible at the current point in time. The work around was to define the index page as a resource "index.html" rather than a apt page "index.apt".

0

精彩评论

暂无评论...
验证码 换一张
取 消