~xdavidwu/xdavidwu.link

2f2c41695611aa8f83c7fe9ade8c71178dbaeca8 — Michael Rose 4 years ago 77734aa
Use `span` instead of `div` element
2 files changed, 5 insertions(+), 3 deletions(-)

M _includes/masthead.html
M _sass/minimal-mistakes/_masthead.scss
M _includes/masthead.html => _includes/masthead.html +4 -3
@@ 11,9 11,10 @@
        {% 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>
        <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 -%}
            {%- if link.url contains '://' -%}

M _sass/minimal-mistakes/_masthead.scss => _sass/minimal-mistakes/_masthead.scss +1 -0
@@ 54,6 54,7 @@
}

.site-subtitle {
  display: block;
  font-size: $type-size-8;
}