swcarpentry / instructor-retreat-2015

http://swcarpentry.github.io/instructor-retreat-2015/
2 stars 7 forks source link

Where site.github.url is defined? #13

Closed rgaiacs closed 9 years ago

rgaiacs commented 9 years ago

Related with #12.

@BillMills could you help me find where site.github.url is defined?

$ grep -r github.url .
./_includes/head.html:  <link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.github.url }}">
./_includes/head.html:  <link rel="stylesheet" href="{{ "/css/bootstrap.css" | prepend: site.github.url }}">
./_includes/head.html:  <link rel="stylesheet" href="{{ "/css/custom.css" | prepend: site.github.url }}">
./_includes/header.html:          <img alt="Software Carpentry logo" src="{{site.github.url}}/img/software-carpentry-banner.png">
bkatiemills commented 9 years ago

All gh-pages sites have some default metadata injected into them by GitHub on the site.github object, see spec here. Hope this helps!

rgaiacs commented 9 years ago

@BillMills Thanks for the information. I'm closing this in favor of #19.