2 Generic footer. Links to repository, not to generated website, so
3 we do a bit of a dance to get the right URL.
5 {% if site.is_production %}
6 {% capture repo_url %}{{ site.github.repository_url }}{% endcapture %}
8 {% capture repo_url %}https://github.com/{{ site.account }}/{{ site.project }}{% endcapture %}
13 <div class="col-md-6" align="left">
16 {% if site.carpentry == "swc" %}<a href="{{ site.swc_site }}">Software Carpentry Foundation</a>{% endif %}
17 {% if site.carpentry == "dc" %}<a href="{{ site.dc_site }}">Data Carpentry</a>{% endif %}
20 <div class="col-md-6" align="right">
22 <a href="{{ repo_url }}">Source</a>
24 <a href="{{ repo_url }}/blob/gh-pages/CONTRIBUTING.md">Contributing</a>
26 <a href="mailto:{{ site.email }}">Contact</a>