Sign in

Output files not applying theme?

  • This topic has 1 reply, 2 voices, and was last updated 10 months, 2 weeks ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9142
    Avatar photoalexistats

    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: https://alexistats.gitlab.io/publii-alexistats/

    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.

    #9174
    Avatar photoTomasz Dziuda

    Hi,

    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.

    --
    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 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.