From 4440e5467f83b9dcad933b6bd3dae08afc5cb7f2 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Mon, 2 Jan 2017 11:12:10 +0100 Subject: [PATCH] Restyle tag pages --- _includes/blog-post.html | 8 ++++++++ _layouts/posts-by-tag.html | 4 +++- css/style.sass | 6 ++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/_includes/blog-post.html b/_includes/blog-post.html index 4522baf..62a602a 100644 --- a/_includes/blog-post.html +++ b/_includes/blog-post.html @@ -4,7 +4,11 @@
  • {% endif %}
    +{% if page.tag %} +
    +{% else %}

    +{% endif %} {% if page.post_listing %} {% endif %} @@ -15,7 +19,11 @@ {% if layout.render_post %}
    {% endif %} +{% if page.tag %} +

    +{% else %} +{% endif %}
    {{post.author.name}}
    diff --git a/_layouts/posts-by-tag.html b/_layouts/posts-by-tag.html index ba18a90..9e28c77 100644 --- a/_layouts/posts-by-tag.html +++ b/_layouts/posts-by-tag.html @@ -2,8 +2,10 @@ layout: default post_listing: true --- +

    {{ page.tag }}

    {{content}} -

    Articles under this tag

    + +

    Articles under this tag

    {% if site.tags[page.tag] %} {% assign posts = site.tags[page.tag] %} diff --git a/css/style.sass b/css/style.sass index 0e717ff..c90679d 100644 --- a/css/style.sass +++ b/css/style.sass @@ -228,3 +228,9 @@ kbd background-color: #a9a9a9 color: black padding: 5px + +h3.tag + text-transform: uppercase + +h5 + font-weight: bold