ct-martin / ctmartin-hugo-theme

Hugo theme for my websites
MIT License
0 stars 0 forks source link

AMP lists and homepage #2

Closed ct-martin closed 4 years ago

ct-martin commented 4 years ago
ct-martin commented 4 years ago

Well, lists might be because I didn't turn AMP on for that Kind in the config... look at later

ct-martin commented 4 years ago

So I turned it on and it is working, but the amp/ prefix is getting put in the wrong place:

https://blog.ctmartin.me/[section]/amp/
https://blog.ctmartin.me/tags/amp/
https://blog.ctmartin.me/tags/[tag]/amp/

instead of:

https://blog.ctmartin.me/amp/[section]/
https://blog.ctmartin.me/amp/tags/
https://blog.ctmartin.me/amp/tags/[tag]/

TODO: figure out and/or file bug; related: https://github.com/gohugoio/hugo/issues/5760

ct-martin commented 4 years ago

Upstream bug: https://github.com/gohugoio/hugo/issues/7159

ct-martin commented 4 years ago

Closing b/c path issue is upstream, it technically works (generates output format <link rel="amphtml">; not to say that it's intuitive)

Otherwise, everything else has been fixed now