Skip to content

Commit

Permalink
_layouts: Fix overlong underline decoration
Browse files Browse the repository at this point in the history
  • Loading branch information
hartwork committed Jan 28, 2019
1 parent 2286a31 commit 0d2f343
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions _layouts/default.html
Expand Up @@ -15,9 +15,8 @@
{% for language in sorted_languages %}
<li class="language language-{{ language[0] }}">
<a rel="alternate" lang="{{ language[0] }}" hreflang="{{ language[0] }}"
href="{{ language[0] | prepend: "/lang/" }}">
{{ language[1] | smartify }} ({{ language[0] }})
</a>
href="{{ language[0] | prepend: "/lang/" }}"
>{{ language[1] | smartify }} ({{ language[0] }})</a>
</li>
{% endfor %}
</ol>
Expand All @@ -32,9 +31,7 @@
{% assign found = site.pages | where: "path", expected | first %}
{% if found %}
<li class="version version-{{ version }}">
<a href="{{ found.url }}">
{{ version}}
</a>
<a href="{{ found.url }}">{{ version}}</a>
</li>
{% endif %}
{% endfor %}
Expand Down

0 comments on commit 0d2f343

Please sign in to comment.