lxndrblz / anatole

Anatole is a minimalistic two-column theme for Hugo.
https://themes.gohugo.io/themes/anatole/
MIT License
651 stars 363 forks source link

Page doesn't pick up custom styling after being published to GitHub Pages #351

Closed Xiyinx closed 2 years ago

Xiyinx commented 2 years ago

Thank you so much for this beautiful theme. This is my first time coding and using git, and your documentation has been very detailed and helpful. However, I ran into a problem which I have not been able to solve after looking through related issues like this and this, so I decided to open this issue and any guidance will be much appreciated.

The Issue:

What I've tried:

Nothing's worked yet.

Additional Context

Looking for any guidance on how I can troubleshoot and fix this. Thank you in advance!

lxndrblz commented 2 years ago

Hi there,

I suspect you would need to set baseURL to https://xiyinx.github.io/xiyinsheng.github.io/ as this is where the site is currently located (the Git repo). Hop that helps.

Xiyinx commented 2 years ago

It worked! You are right, the problem was with the baseurl. I was confused about the difference between GitHub user pages and project pages, and thus didn't know which one to use in the config.toml file.

You brought good luck to me! Thank you for the super prompt reply and great help Alex. I really appreciate it.