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.

AMP main Page leads to blog

  • #1666
    Avatar photo[anonymous]

    Hello,

    When I turn on AMP in Publii, an AMP page is generated correctly for each page.

    Except for the main page, here my blog is taken. This must be an error, how can I change this ?

    #1670
    Avatar photoBob

    Hi,

    This is not a bug; Publii displays AMP pages in a very simple way. If you want to override their default look, copy them into the main theme directory ‎⁨(Documents ▸ ⁨Publii⁩ ▸ ⁨sites⁩ ▸ ⁨YOUR_SITE ▸ ⁨input⁩ ▸ ⁨themes⁩ ▸ ⁨YOUR_THEME) and edit as you like.

    amp-pages (.zip – 12KB)

    #1673
    Avatar photo[anonymous]

    Hi Bob,

    I don’t know if you understood my question correctly, maybe I described it incorrectly. Here’s an example

    index.html in the main folder of my homepage is not the same as /amp/index.html

    all inquiries are currently being redirected to my blog, but they should see the frontpage

    #1674
    Avatar photoBob
    [anonymous] wrote:

    all inquiries are currently being redirected to my blog, but they should see the frontpage

    What do you mean? Any live example?