X-Git-Url: https://git.arvados.org/rnaseq-cwl-training.git/blobdiff_plain/519cd35bd95dbebc8e54b0279cd928a3c310804d..e0f4c7a8e180a63dcb3ee60e755ff3beaeccd461:/_includes/navbar.html?ds=sidebyside diff --git a/_includes/navbar.html b/_includes/navbar.html index 7da51db..ff15ed1 100644 --- a/_includes/navbar.html +++ b/_includes/navbar.html @@ -1,3 +1,12 @@ +{% comment %} + If previewing locally, site.root is set in _config_dev.yml. + If site.root is not set, assume we're viewing on the web. +{% endcomment %} +{% if site.root %} + {% assign root = site.root %} +{% else %} + {% assign root = site.github.url %} +{% endif %}