Merge pull request #242 from rgaiacs/add-version-to-footer
[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 copyright" align="left">
7         {% if site.carpentry == "swc" %}
8         Copyright &copy; 2018–{{ 'now' | date: "%Y" }}
9         <a href="{{ site.carpentries_site }}">The Carpentries</a>
10         <br>
11         Copyright &copy; 2016–2018
12         <a href="{{ site.swc_site }}">Software Carpentry Foundation</a>
13         {% elsif site.carpentry == "dc" %}
14         Copyright &copy; 2018–{{ 'now' | date: "%Y" }}
15         <a href="{{ site.carpentries_site }}">The Carpentries</a>
16         <br>
17         Copyright &copy; 2016–2018
18         <a href="{{ site.dc_site }}">Data Carpentry</a>
19         {% elsif site.carpentry == "lc" %}
20         Copyright &copy; 2016–{{ 'now' | date: "%Y" }}
21         <a href="{{ site.lc_site }}">Library Carpentry</a>
22         {% endif %}
23     </div>
24     <div class="col-md-6 help-links" align="right">
25         {% if page.source %}
26         {% if page.source == "Rmd" %}
27         <a href="{{site.github.repository_url}}/edit/gh-pages/{{page.path|replace: "_episodes", "_episodes_rmd" | replace: ".md", ".Rmd"}}">Edit on GitHub</a>
28         {% endif %}
29         {% else %}
30         <a href="{{site.github.repository_url}}/edit/gh-pages/{{page.path}}">Edit on GitHub</a>
31         {% endif %}
32         /
33         <a href="{{ site.github.repository_url }}/blob/gh-pages/CONTRIBUTING.md">Contributing</a>
34         /
35         <a href="{{ site.github.repository_url }}/">Source</a>
36         /
37         <a href="{{ site.github.repository_url }}/blob/gh-pages/CITATION">Cite</a>
38         /
39         <a href="mailto:{{ site.email }}">Contact</a>
40     </div>
41   </div>
42   <div class="row">
43     <div class="col-md-12" align="center">
44       Using <a href="https://github.com/swcarpentry/styles/">The Carpentries style</a> 
45       version <a href="https://github.com/swcarpentry/styles/releases/tag/v9.4.0">9.4.0</a>.
46     </div>
47   </div>
48 </footer>