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.

Output files not applying theme?

  • #9142
    Avatar photo[anonymous]

    Hey everyone, I hope someone can help me because I’ve used Publii in the past (a year or two ago) without issues.

    However, right now I’m stumped. Everything works fine in the editor, and previewing my website-in-progress, it looks good.

    The problem comes when trying to generate the files for the website. For some reason, when I click on the output file, only the bare bone html is generated.

    When I inspect the page, I get this error:

    Failed to load resource: net::ERR_BLOCKED_BY_RESPONSE.NotSameOrigin

    And it seems like the blocked link is the gitlab sign-in page (I’m using gitlab pages).

    Here’s what the website looks like right now:

    From my research online, it looks like a CORS (Cross Origin) issue, but I’m not sure how to enable this in Publii?

    I’m just trying to set up a small blog, nothing complicated… any help would be appreciated!

    Edit: After 3-4 hours of banging my head against the wall, I just needed to post this to find the error. Seems like I was linking to my github pages repository instead of to the actual url. So, not one reference was good.

    Avatar photo[anonymous]


    As I see – you have solved your issue, but if somebody will found answer for similar cases – such issue can also sometimes appear when you tries to open locally your output files – they will try to download external resources, and some of them (especially SVG images) can be also blocked via CORS.