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

GitHub pages setup feedback #323

Open
jzohrab opened this issue Oct 12, 2023 · 1 comment
Open

GitHub pages setup feedback #323

jzohrab opened this issue Oct 12, 2023 · 1 comment

Comments

@jzohrab
Copy link

jzohrab commented Oct 12, 2023

Hi there, thank you for the great theme.

I was setting up lanyon for my personal github site <username>.github.io, and had a few small issues with it that I thought weren't clearly outlined in the documentation here or in the poole repo. Let me know if you'd like me to open a PR to update some documentation for those who are trying to set this up as their github pages, and please suggest where I might put this change.

Summary to doc:

In my _config.yml, I had to make some changes:

url:                 https://<username>.github.io
baseurl:             /
 
# remote theme supported: https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/adding-a-theme-to-your-github-pages-site-using-jekyll
remote_theme: poole/lanyon

I believe that both the url and baseurl are required:

  • default.html has <script src='{{ site.baseurl }}/public/js/script.js'></script>
  • head.html has <link rel="stylesheet" href="{{ '/public/css/poole.css' | absolute_url }}">

Thank you very much! jz

@wireddown
Copy link

I also encountered some strange behavior between project and user sites

http://downtothewire.io/2015/08/15/configuring-jekyll-for-user-and-project-github-pages/

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