Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static assets can't be found when using theme as remote theme on GH Pages #244

Open
gnarea opened this issue May 13, 2020 · 1 comment
Open

Comments

@gnarea
Copy link

gnarea commented May 13, 2020

I'm using this theme as a remote_theme on GH Pages and nearly everything works as expected. The only thing that doesn't work is the static assets: They can't be served. Here's the logs:

[2020-05-13 23:53:04] ERROR `/public/css/poole.css' not found.
[2020-05-13 23:53:04] ERROR `/public/css/syntax.css' not found.
[2020-05-13 23:53:04] ERROR `/public/css/lanyon.css' not found.
[2020-05-13 23:53:04] ERROR `/public/js/script.js' not found.

I'm working around this issue by copying the public/ directory, but it'd be ideal not to have to do this.

@jzohrab
Copy link

jzohrab commented Oct 21, 2023

This could be a configuration issue. I have the following in my _config.yml using remote_theme and things seem to work as expected:

url:                 https://jzohrab.github.io
baseurl:             /

If you're using this for a project, then baseurl may be necessary (eg baseurl: /yourproject)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants