Hi Carlos,

I've never used AMP, but see if the following markup will work with it:

<html amp="true">

mrg


On Tue, Nov 29, 2016 at 3:36 PM, Carlos Montero Canabal <
carlosmonterocana...@gmail.com> wrote:

> Hello Tapestry users,
>
> I would like to create an amp version of my pages into a tapestry5.4
> webapp. According to https://www.ampproject.org/
> docs/reference/spec#required-markup <https://www.ampproject.org/
> docs/reference/spec#required-markup> the root html only would be:
>
> <html amp>
>
> Tapestry5 make a xhtml compilation for the .tml, so I ask you if there is
> any method to:
>
> 1. Exclude de xhtml compilation for this pages
> 2. Intercept the result and modify it to eliminate additional tags added
> by Tapestry.
> 3. Create a MarkupModel for AMPHtml?
>
> What would be the best solution?
>
> Best regards
>
> Carlos Montero

Reply via email to