-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
lesson_footer.html
38 lines (38 loc) · 1.17 KB
/
lesson_footer.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{% comment %}
Footer for lesson pages.
{% endcomment %}
<footer>
<div class="row">
<div class="col-md-6" align="left">
<h4>
Copyright © 2016–{{ 'now' | date: "%Y" }}
{% if site.carpentry == "swc" %}
<a href="{{ site.swc_site }}">Software Carpentry Foundation</a>
{% elsif site.carpentry == "dc" %}
<a href="{{ site.dc_site }}">Data Carpentry</a>
{% elsif site.carpentry == "lc" %}
<a href="{{ site.lc_site }}">Library Carpentry</a>
{% endif %}
</h4>
</div>
<div class="col-md-6" align="right">
<h4>
{% if page.source %}
{% if page.source == "Rmd" %}
<a href="{{site.github.repository_url}}/edit/gh-pages/{{page.path|replace: "_episodes", "_episodes_rmd" | replace: ".md", ".Rmd"}}">Edit on GitHub</a>
{% endif %}
{% else %}
<a href="{{site.github.repository_url}}/edit/gh-pages/{{page.path}}">Edit on GitHub</a>
{% endif %}
/
<a href="{{ site.github.repository_url }}/blob/gh-pages/CONTRIBUTING.md">Contributing</a>
/
<a href="{{ site.github.repository_url }}/">Source</a>
/
<a href="{{ site.github.repository_url }}/blob/gh-pages/CITATION">Cite</a>
/
<a href="{{ site.contact }}">Contact</a>
</h4>
</div>
</div>
</footer>