Add link to Edit on GitHub
[rnaseq-cwl-training.git] / _includes / lesson_footer.html
index a37ba3eceb1bcf6b3a31fa05210219cd8bdb0366..9d214d54c38c715f2f793d71ada70097c9d2199c 100644 (file)
@@ -1,8 +1,11 @@
+{% 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" %}
     </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="{{ site.contact }}">Contact</a>