M _includes/masthead.html => _includes/masthead.html +3 -1
@@ 11,7 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 }}</a>
+ <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>
<ul class="visible-links">
{%- for link in site.data.navigation.main -%}
{%- if link.url contains '://' -%}
M _sass/minimal-mistakes/_masthead.scss => _sass/minimal-mistakes/_masthead.scss +4 -0
@@ 53,6 53,10 @@
z-index: 20;
}
+.site-subtitle {
+ font-size: $type-size-8;
+}
+
.masthead__menu {
float: left;
margin-left: 0;