Skip to content

Commit

Permalink
Add note about the version of the style
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaiacs committed May 8, 2018
1 parent 667c691 commit 30f8cd1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 8 additions & 2 deletions _includes/lesson_footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% endcomment %}
<footer>
<div class="row">
<div class="col-md-6" align="left">
<div class="col-md-6 copyright" align="left">
Copyright &copy; 2016–{{ 'now' | date: "%Y" }}
{% if site.carpentry == "swc" %}
<a href="{{ site.swc_site }}">Software Carpentry Foundation</a>
Expand All @@ -13,7 +13,7 @@
<a href="{{ site.lc_site }}">Library Carpentry</a>
{% endif %}
</div>
<div class="col-md-6" align="right">
<div class="col-md-6 help-links" align="right">
{% 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>
Expand All @@ -31,4 +31,10 @@
<a href="mailto:{{ site.email }}">Contact</a>
</div>
</div>
<div class="row">
<div class="col-md-12" align="center">
Using <a href="https://github.com/swcarpentry/styles/">The Carpentries style</a>
version <a href="https://github.com/swcarpentry/styles/releases/tag/v9.4.0">9.4.0</a>.
</div>
</div>
</footer>
4 changes: 3 additions & 1 deletion assets/css/lesson.scss
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ img {
text-align: center;
}

footer {
footer .copyright,
footer .help-links
{
font-size: 18px;
margin-top: 10px;
margin-bottom: 10px;
Expand Down

0 comments on commit 30f8cd1

Please sign in to comment.