{% comment %} Generic footer. Links to repository, not to generated website, so we do a bit of a dance to get the right URL. {% endcomment %} {% if site.is_production %} {% capture repo_url %}{{ site.github.repository_url }}{% endcapture %} {% else %} {% capture repo_url %}https://github.com/{{ site.account }}/{{ site.project }}{% endcapture %} {% endif %}