fa5d888701737e2e3d34f6f0a28bcb1f6870307c
[rnaseq-cwl-training.git] / _includes / lesson_footer.html
1 {% comment %}
2   Footer for lesson pages.
3 {% endcomment %}
4 <footer>
5   <div class="row">
6     <div class="col-md-6" align="left">
7       <h4>
8         Copyright &copy; 2016–{{ 'now' | date: "%Y" }}
9         {% if site.carpentry == "swc" %}
10         <a href="{{ site.swc_site }}">Software Carpentry Foundation</a>
11         {% elsif site.carpentry == "dc" %}
12         <a href="{{ site.dc_site }}">Data Carpentry</a>
13         {% elsif site.carpentry == "lc" %}
14         <a href="{{ site.lc_site }}">Library Carpentry</a>
15         {% endif %}
16       </h4>
17     </div>
18     <div class="col-md-6" align="right">
19       <h4>
20         {% if page.source %}
21         {% if page.source == "Rmd" %}
22         <a href="{{site.github.repository_url}}/edit/gh-pages/{{page.path|replace: "_episodes", "_episodes_rmd" | replace: ".md", ".Rmd"}}">Edit on GitHub</a>
23         {% endif %}
24         {% else %}
25         <a href="{{site.github.repository_url}}/edit/gh-pages/{{page.path}}">Edit on GitHub</a>
26         {% endif %}
27         /
28         <a href="{{ site.github.repository_url }}/blob/gh-pages/CONTRIBUTING.md">Contributing</a>
29         /
30         <a href="{{ site.github.repository_url }}/">Source</a>
31         /
32         <a href="{{ site.github.repository_url }}/blob/gh-pages/CITATION">Cite</a>
33         /
34         <a href="{{ site.contact }}">Contact</a>
35       </h4>
36     </div>
37   </div>
38 </footer>