Skip to content

Commit

Permalink
Merge pull request okfn#203 from okfn/language-footer
Browse files Browse the repository at this point in the history
show translation links in the footer
  • Loading branch information
mlinksva authored Jul 24, 2020
2 parents 433b356 + 973aad5 commit a248d87
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
11 changes: 11 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
<footer class="site-footer">
<div class="wrapper">

<div class="footer-language-links">
<p>
The Open Definition in Your Language
<ul>
{% include translations.html %}
</ul>
</p>
</div>

<hr>

<div class="footer-primary-links">
<a class="footer-logo" href="https://okfn.org/">
<img src="https://a.okfn.org/img/oki/landscape-white-234x61.png">
Expand Down
13 changes: 12 additions & 1 deletion _sass/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ html {
@media (min-width: $large-screen) {
float: left;
margin-left: 1em;
margin-bottom: 0;
margin-bottom: 1em;
}
}

Expand Down Expand Up @@ -122,6 +122,17 @@ html {
}
}
}

.footer-language-links {
ul {
padding-left: 0;
}
li {
font-size: .8em;
font-weight: 400;
display: inline;
}
}
}

hr {
Expand Down

0 comments on commit a248d87

Please sign in to comment.