alshedivat / al-folio

A beautiful, simple, clean, and responsive Jekyll theme for academics
https://alshedivat.github.io/al-folio/
MIT License
11.34k stars 11.28k forks source link

Unable to fetch stylesheet on initial deploy #2588

Closed Manav1712 closed 4 months ago

Manav1712 commented 4 months ago

Have you checked that your issue isn't already filed?

Bug description

Not able to fetch stylesheet

How to reproduce the bug

I followed all setup steps, fixed the lighthouse badger by adding the secret and made the deployment off of gh-pages. However, my site is unable to fetch the stylesheet.

Error messages and logs

None

What operating system are you using?

Mac

Where are you seeing the problem on?

Deployed site

More info

No response

Manav1712 commented 4 months ago
Screenshot 2024-07-21 at 2 45 01 PM
george-gca commented 4 months ago

Note that the first checkbox your marked before opening this issue is stating that you read our FAQ, which clearly you did not. Please, check our FAQ for the answer to this error. Errors that happen commonly enough we add to our FAQ with the specified solution.

Manav1712 commented 4 months ago

I'm sorry you thought that. However, I actually have gone through the entire FAQ. I have followed everything you posted as well. Another user @Sustainability4 posted the same issue as well. I followed all the steps of your recommended approach, I tried loading it after cleaning my history or on incognito, updated all URLS and checked the entire error thread https://github.com/alshedivat/al-folio/issues/1398#issuecomment-1609518404 . I just asked a simple question, I don't see the reason for being impolite.

stsfaroz commented 4 months ago

@george-gca same situation here , i added the secrets in lighthouse badger , still same problem

Error: Input required and not supplied: token

george-gca commented 4 months ago

I will copy/paste the contents of the FAQ entry here, expliciting the answer:


Question

My webpage works locally. But after deploying, it is not displayed correctly (CSS and JS are not loaded properly). How do I fix that?

Answer (part that you missed)

If you are deploying a personal or organization website, leave baseurl blank.

What this means is: change this line:

baseurl: /al-folio

to this:

baseurl:

Note that this solution is also explicited in the installation steps recommended approach step 3:

  1. Open file _config.yml, set url to https://<your-github-username>.github.io and leave baseurl empty (do NOT delete it).

And was answered in #2569, #2431, #2382, #2313.