~xdavidwu/xdavidwu.link

233c2e195785bd1a983c17f51ca3722f5cc1c6e0 — xdavidwu 4 years ago 006c512
move cat and tags to home-like title style
3 files changed, 28 insertions(+), 2 deletions(-)

A _layouts/archive_subtitle.html
M _layouts/categories.html
M _layouts/tags.html
A _layouts/archive_subtitle.html => _layouts/archive_subtitle.html +26 -0
@@ 0,0 1,26 @@
---
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">
    {% unless page.header.overlay_color or page.header.overlay_image %}
      <h3 id="page-title" class="archive__subtitle">{{ page.title }}</h3>
    {% endunless %}
    {{ content }}
  </div>
</div>

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

{{ content }}

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

{{ content }}