Skip to content

Commit

Permalink
Merge pull request datacarpentry#242 from rgaiacs/add-version-to-footer
Browse files Browse the repository at this point in the history
Add note about the version of the style
  • Loading branch information
rgaiacs authored May 13, 2018
2 parents a700bde + 54fbb57 commit caa6e0b
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">
{% if site.carpentry == "swc" %}
Copyright &copy; 2018–{{ 'now' | date: "%Y" }}
<a href="{{ site.carpentries_site }}">The Carpentries</a>
Expand All @@ -21,7 +21,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 @@ -39,4 +39,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 caa6e0b

Please sign in to comment.