Hi,
I read about https://www.ampproject.org/ . I would like to generate my site twice.
Once normal and once ‘amp’ friendly.
Do I run hugo twice? Can i run two hugo ‘watches’ on the same folder (and output folder)?
There was already discussion to output json to use for ‘consumption’.
There is RSS generated.
Is there a more supported way to do this? Are there plans to do this?
Thanks!
3 Likes
bep
December 18, 2015, 9:56am
2
You ned to build it twice. As to watch, I suggest you test it.
1 Like
Hello!
Since it seems that the “AMP” site need to referenced using a specific rel=canonical directive, i suppose it will be necessary to generate the Amp-site in a single run in order to properly map the URLs.
For anybody interested there’s an interesting article on moz, published today https://moz.com/blog/accelerated-mobile-pages-whiteboard-friday
1 Like