Replace page.root (#310)
authorFrançois Michonneau <francois.michonneau@gmail.com>
Thu, 23 Aug 2018 00:08:58 +0000 (20:08 -0400)
committerGitHub <noreply@github.com>
Thu, 23 Aug 2018 00:08:58 +0000 (20:08 -0400)
commit39ed62b9b218242775b043e9eff3e76bb430602d
tree9413e0987c1568fd2abeceee8abaa000924a9408
parentc9fe2d8c2a8cde408bbd9c75e9bcee22bc16a027
Replace page.root (#310)

* replace page.root with 'base' variable that knows path level

* deal with case of trailing / in URL

* use link to figure out path for logos

* simplify path building for favicons

* baseurl isn't used in our template so it can removed
* use 'base' variable for path root instead of unecessary http request to
  site.url

* replace page.root with 'base' variable that knows path level

* deal with case of trailing / in URL

* use link to figure out path for logos

* simplify path building for favicons

* baseurl isn't used in our template so it can removed
* use 'base' variable for path root instead of unecessary http request to
  site.url

* rename variable, consolidate comments

* rename variable in template files
13 files changed:
_includes/all_keypoints.html
_includes/base_path.html [new file with mode: 0644]
_includes/carpentries.html
_includes/episode_navbar.html
_includes/favicons.html
_includes/javascript.html
_includes/main_title.html
_includes/navbar.html
_includes/syllabus.html
_layouts/base.html
_layouts/workshop.html
bin/boilerplate/_extras/figures.md
bin/boilerplate/aio.md