AnnArborRUserGroup / AnnArborRUserGroup.github.io

https://annarborrusergroup.github.io/
3 stars 1 forks source link

Make all links self-contained #21

Closed ClaytonJY closed 7 years ago

ClaytonJY commented 8 years ago

Right now, if you serve the page locally with Jekyll, you can break out of the local version by clicking any link which is hardcoded to the hosted github URL. A current example is the R logo, but there could be others.

I think the fix is to use site.url or something similar; the broken footers below each meetup summary currently link in the appropriate way.

ClaytonJY commented 8 years ago

It's easy to change the line in sidebar.html to use "{{ site.url }}", but that's set to the github.io address in _config.yml. If you use site.baseurl instead, which is set to "", it just redirects to the current page.