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

View file

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