Sign in

Edit Amp source code

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

    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
    Tomasz 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
    JOduMonT

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

    #5896
    Tomasz 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
    dragon

    Hi

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

    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!

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