Sign in

Edit Amp source code

  • This topic has 5 replies, 4 voices, and was last updated 2 years ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #5807
    Avatar photodragon

    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 photoTomasz Dziuda

    Hi,

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

    • AMP Head
    • AMP Footer

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #5859
    Avatar photoJOduMonT

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

    #5896
    Avatar photoTomasz Dziuda

    @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.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #5898
    Avatar photodragon

    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.

     

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.