X-Git-Url: https://git.arvados.org/rnaseq-cwl-training.git/blobdiff_plain/034e9780249bbca6d3b84614c5aecb43dbd5f93d..2c6b97e57dce86830bdbde8d9f8a871c0b46a035:/_layouts/base.html diff --git a/_layouts/base.html b/_layouts/base.html index a083eb1..cc4132d 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -1,21 +1,7 @@ --- --- -{% comment %} -When rendering websites locally, `site.github.url` doesn't get resolved -properly unless GitHub PAT are set up and available in the environment. -This leads to warnings and errors when trying to serve the site locally. -To work around this, we use the `jekyll.environment` variable which is set to -`development` when rendering the site locally, and set to `production` on -GitHub where `site.github.url` will be defined. -{% endcomment %} - -{% if jekyll.environment == "development" %} -{% assign search_domain_url = "" %} -{% elsif jekyll.environment == "production" %} -{% assign search_domain_url = site.github.url %} -{% endif %} - {% include base_path.html %} +{% include gh_variables.html %} @@ -30,6 +16,7 @@ GitHub where `site.github.url` will be defined. + {% include favicons.html %} @@ -39,7 +26,11 @@ GitHub where `site.github.url` will be defined. - {{ site.title }}{% if page.title %}: {{ page.title }}{% endif %} + + + {% if page.title %}{{ page.title }}{% endif %}{% if page.title and site.title %} – {% endif %}{% if site.title %}{{ site.title }}{% endif %} + +