X-Git-Url: https://git.arvados.org/rnaseq-cwl-training.git/blobdiff_plain/5e4ca8b76f4030d8cc732bb95939500cc0713728..6ecf1b7e56619d6a290dbaa85067982554d8b6d8:/_layouts/base.html diff --git a/_layouts/base.html b/_layouts/base.html index 8a2e4b5..07a4972 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -1,20 +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 %} @@ -25,10 +12,10 @@ GitHub where `site.github.url` will be defined. - - - - + + + + {% include favicons.html %} @@ -38,9 +25,16 @@ 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 %} + + + + {% include life_cycle.html %} +
{% include navbar.html %} {{ content }}