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

Allow local paths to theme #96

Open
mulle-nat opened this issue Jan 1, 2022 · 3 comments
Open

Allow local paths to theme #96

mulle-nat opened this issue Jan 1, 2022 · 3 comments

Comments

@mulle-nat
Copy link

I would like to separate my theme from the blog repository with the posts. With remote-theme I can do this, when I am hosting on github. But for a local setup, it doesn't work (for me). Something like remote_theme: ../my_theme or so would be nice. I could do this with symlinks, but I'd prefer it, if my site was in a somewhat more "standard" setup.

@benbalter
Copy link
Owner

Given the current implementation, I don't know that a local set up makes sense (unless you want to host a local zip of the theme and keep it up to date). The more out of the box setup, would be to package your theme as a Gem, and in your Gemfile, point bundler to a local path. I actually do this frequently for local theme development of my remote theme.

@mulle-nat
Copy link
Author

mulle-nat commented Jan 4, 2022

Thanks. The idea of bundling it into a gem, didn't occur to me, as my ruby skills are very weak. I will try this out.

@zbyte64
Copy link

zbyte64 commented Feb 12, 2023

Github pages doesn't respect Gemfiles, so this might still be useful for some people

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

3 participants