~xdavidwu/xdavidwu.link

dc76ac9a59def5aec1e6d35efb26b930ec189d15 — xdavidwu 4 years ago 233c2e1
fix cat, tags margin-top
3 files changed, 25 insertions(+), 2 deletions(-)

A _layouts/archive_notitle.html
M _layouts/home.html
M _sass/minimal-mistakes/_archive.scss
A _layouts/archive_notitle.html => _layouts/archive_notitle.html +23 -0
@@ 0,0 1,23 @@
---
layout: default
---

{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
  {% include page__hero.html %}
{% elsif page.header.video.id and page.header.video.provider %}
  {% include page__hero_video.html %}
{% endif %}

{% if page.url != "/" and site.breadcrumbs %}
  {% unless paginator %}
    {% include breadcrumbs.html %}
  {% endunless %}
{% endif %}

<div id="main" role="main">
  {% include sidebar.html %}

  <div class="archive">
    {{ content }}
  </div>
</div>

M _layouts/home.html => _layouts/home.html +1 -1
@@ 1,5 1,5 @@
---
layout: archive
layout: archive_notitle
---

{{ content }}

M _sass/minimal-mistakes/_archive.scss => _sass/minimal-mistakes/_archive.scss +1 -1
@@ 31,7 31,7 @@
}

.archive__subtitle {
  margin: 0;
  margin: 0.75rem 0;
  padding-bottom: 0.5em;
  border-bottom: 1px solid $border-color;