X-Git-Url: https://git.arvados.org/rnaseq-cwl-training.git/blobdiff_plain/39ed62b9b218242775b043e9eff3e76bb430602d..32e788be48975f97e1fee992718ccce8938baf9b:/_layouts/base.html?ds=sidebyside 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 %} + +