Use span instead of div element

This commit is contained in:
Michael Rose 2019-07-17 11:46:37 -04:00
parent cfad550975
commit 8b708a0ee3
2 changed files with 5 additions and 3 deletions

View file

@ -11,9 +11,10 @@
{% unless logo_path == empty %} {% unless logo_path == empty %}
<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path | relative_url }}" alt=""></a> <a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path | relative_url }}" alt=""></a>
{% endunless %} {% endunless %}
<a class="site-title" href="{{ '/' | relative_url }}">{{ site.masthead_title | default: site.title }} <a class="site-title" href="{{ '/' | relative_url }}">
{% if site.subtitle %}<div class="site-subtitle">{{ site.subtitle }}</div>{% endif %} {{ site.masthead_title | default: site.title }}
</a> {% if site.subtitle %}<span class="site-subtitle">{{ site.subtitle }}</span>{% endif %}
</a>
<ul class="visible-links"> <ul class="visible-links">
{%- for link in site.data.navigation.main -%} {%- for link in site.data.navigation.main -%}
{%- if link.url contains '://' -%} {%- if link.url contains '://' -%}

View file

@ -54,6 +54,7 @@
} }
.site-subtitle { .site-subtitle {
display: block;
font-size: $type-size-8; font-size: $type-size-8;
} }