Add link to Edit on GitHub
[rnaseq-cwl-training.git] / _includes / lesson_footer.html
index 58d08fae539edd130bab6ab781996ab21ce35338..9d214d54c38c715f2f793d71ada70097c9d2199c 100644 (file)
@@ -1,20 +1,31 @@
-<hr/>
+{% comment %}
+  Footer for lesson pages.
+{% endcomment %}
 <footer>
   <div class="row">
     <div class="col-md-6" align="left">
       <h4>
-       Copyright &copy; 2016
-       {% if site.carpentry == "swc" %}<a href="{{ site.swc_site }}">Software Carpentry Foundation</a>{% endif %}
-       {% if site.carpentry == "dc" %}<a href="{{ site.dc_site }}">Data Carpentry</a>{% endif %}
+       Copyright &copy; 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>
-       <a href="{{ site.github.repository_url }}/">Source</a>
+        <a href="{{site.github.repository_url}}/blob/gh-pages/{{page.path}}">Improve this page <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span></a>
        /
        <a href="{{ site.github.repository_url }}/blob/gh-pages/CONTRIBUTING.md">Contributing</a>
        /
-       <a href="mailto:{{ site.email }}">Contact</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>