Skip to content

Commit

Permalink
align language links right
Browse files Browse the repository at this point in the history
  • Loading branch information
bitschmidty committed Oct 31, 2019
1 parent 560573f commit d53a8ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 4 additions & 2 deletions _layouts/newsletter.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@

<article class="newsletter">
<header class="post-header">
{% if localizations.size > 0 %}
{% if localizations.size > 0 %}
<div class="localization">
<a href="{{ '/en' | append:baseurl }}">en</a>
{% for locale in localizations %}
| <a href="{{ locale.url }}">{{locale.lang}}</a>
{% endfor %}
{% endif %}
</div>
{% endif %}
<h1 class="post-title">{{ page.title | escape }}</h1>
<p class="post-meta">
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}">
Expand Down
5 changes: 5 additions & 0 deletions assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -242,3 +242,8 @@ div.compat-usability img
{
margin-right: 10px;
}

div.localization
{
text-align: right;
}

0 comments on commit d53a8ce

Please sign in to comment.