Skip to content

Commit

Permalink
Merge pull request #241 from rgaiacs/clean-footer
Browse files Browse the repository at this point in the history
Clean footer HTML
  • Loading branch information
rgaiacs authored May 8, 2018
2 parents 84fcd6c + 667c691 commit 9ccbb18
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 0 additions & 4 deletions _includes/lesson_footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<footer>
<div class="row">
<div class="col-md-6" align="left">
<h4>
Copyright &copy; 2016–{{ 'now' | date: "%Y" }}
{% if site.carpentry == "swc" %}
<a href="{{ site.swc_site }}">Software Carpentry Foundation</a>
Expand All @@ -13,10 +12,8 @@ <h4>
{% elsif site.carpentry == "lc" %}
<a href="{{ site.lc_site }}">Library Carpentry</a>
{% endif %}
</h4>
</div>
<div class="col-md-6" align="right">
<h4>
{% 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 @@ -32,7 +29,6 @@ <h4>
<a href="{{ site.github.repository_url }}/blob/gh-pages/CITATION">Cite</a>
/
<a href="mailto:{{ site.email }}">Contact</a>
</h4>
</div>
</div>
</footer>
8 changes: 8 additions & 0 deletions assets/css/lesson.scss
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,14 @@ img {
text-align: center;
}

footer {
font-size: 18px;
margin-top: 10px;
margin-bottom: 10px;
font-weight: 500;
line-height: 1.1;
}

img.navbar-logo {
height: 40px; // synchronize with height of navbar
padding-top: 5px;
Expand Down

0 comments on commit 9ccbb18

Please sign in to comment.