Add link to Edit on GitHub
[rnaseq-cwl-training.git] / _includes / lesson_footer.html
index d5c9ad9f45c6b812953937d623997f41afa83ae8..9d214d54c38c715f2f793d71ada70097c9d2199c 100644 (file)
@@ -1,26 +1,31 @@
+{% comment %}
+  Footer for lesson pages.
+{% endcomment %}
 <footer>
   <div class="row">
     <div class="col-md-6" align="left">
       <h4>
-       Copyright &copy; 2016
+       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.dc_site }}">Library Carpentry</a>
+       <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="{{ site.github.repository_url }}/">Source</a>
+       /
        <a href="{{ site.github.repository_url }}/blob/gh-pages/CITATION">Cite</a>
        /
-       <a href="mailto:{{ site.contact }}">Contact</a>
+       <a href="{{ site.contact }}">Contact</a>
       </h4>
     </div>
   </div>