lugorguk / lug.org.uk-website

Website of the UK Linux User Groups organisation
Creative Commons Zero v1.0 Universal
5 stars 5 forks source link

Confusion around GitHub Pages vs. self-hosted jekyll #30

Closed timretout closed 5 years ago

timretout commented 5 years ago

Hello!

Looking through the repo, I was confused about whether it was actually meant to be using GitHub Pages - or in other words, the difference between these URLs:

The github.io version works because the repository is named appropriately, but the menu doesn't have any entries. (This is something to do with "page.lang" not existing in the sites.pages variable - if you remove the "where" filters related to language in _includes/site-header.html then it works again. You can test this locally by changing the Gemfile to import 'github-pages'.)

The advantage of Github Pages is that it's hosted for you, but the downside is (obviously) that you're tied in to GitHub, and are limited to plugins they approve. I'd propose either:

Cheers!

Tim

JonTheNiceGuy commented 5 years ago

Fair. I'll rename it now :)