Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Edit Amp source code

  • #5807
    Avatar photo[anonymous]

    Hi , excuse me , I want add extra html to body of my amp site but I cant found any where to do edit or add new code to body of my amp site. , please show how can I add new code to amp of my site.

    #5822
    Avatar photo[anonymous]

    Hi,

    Please go to Tools -> Custom HTML – there you will find two tabs:

    • AMP Head
    • AMP Footer
    #5859
    Avatar photo[anonymous]

    as Bob told me, I think 2 years ago, AMP is dead (ref: https://www.google.com/search?q=amp+is+dead

    #5896
    Avatar photo[anonymous]

    @JOduMonT – indeed – we will probably remove AMP support this year as it will be no longer useful in most cases and it complicates the rendering workflow.

    #5898
    Avatar photo[anonymous]

    Hi

    • For some themes of publii amp support is very neccessery , for example simple theme.
    #5902
    Avatar photoBob

    Please find attached the files for the AMP pages. Then copy all or just needed to your theme folder (‎⁨(Documents ▸ ⁨Publii⁩ ▸ ⁨sites⁩ ▸ ⁨YOUR_SITE ▸ ⁨input⁩ ▸ ⁨themes⁩ ▸ ⁨YOUR_THEME) and edit the way you want.