Skip to content

Conversation

@glebius
Copy link

@glebius glebius commented Nov 21, 2017

Hi!

I tried to use hyde together with https://github.com/benbalter/jekyll-remote-theme. This gem allows to host a website with GitHub Pages with any GitHub-hosted theme (not only supported by Pages). It puts remote theme to a temporary directory, compiles _site and deletes temporary. This yielded in files missing from the generated website:

[2017-11-21 00:43:00] ERROR /public/css/poole.css' not found. [2017-11-21 00:43:00] ERROR /public/css/syntax.css' not found.
[2017-11-21 00:43:00] ERROR `/public/css/hyde.css' not found.

This happens because Jekyll doesn't treat /public as a special directory. See https://jekyllrb.com/docs/themes/. Putting stylesheets and icons into /assets fixes the problem.

for a Gem based theme. See https://jekyllrb.com/docs/themes/.

This fixes operation of hyde with jekyll-remote-theme.
@mdo
Copy link
Member

mdo commented Nov 25, 2017

As far as I know, there's nothing special about public.

@mdo mdo closed this Nov 25, 2017
@glebius
Copy link
Author

glebius commented Nov 27, 2017

Exactly, there is nothing special about "public", but there is about "assets". And we need it be special to be copied over.

@mdo
Copy link
Member

mdo commented Nov 27, 2017

Oh well shit, I misread that one. I dunno when I'll get to this and the other themes though.

@mdo mdo reopened this Nov 27, 2017
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks great.

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

Successfully merging this pull request may close these issues.

2 participants