From 49021944e3b4881486ae27cd48acf9196a0b6ed7 Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Mon, 23 Aug 2021 20:08:29 +0300 Subject: refactor post layout add go back link to the heading instead of list use div.post-header-info (list was not right) --- _layouts/post.html | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to '_layouts/post.html') diff --git a/_layouts/post.html b/_layouts/post.html index 30029a8..602cfce 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -4,18 +4,19 @@ layout: default
-

{{ page.title }}

-
    -
  • {{ page.date | date: "%F" }}
  • + {% include title-with-backlink.html title=page.title backlink="/blog/" %} +
    + {% if page.tags.size > 0 %} -
  • |
  • -
  • tags:
  • - {% for tag in page.tags %} -
  • {{ tag }}
  • - {% endfor %} +

    tags:

    +
      + {% for tag in page.tags %} +
    • {{ tag }}
    • + {% endfor %} {% endif %} -
    +
+

-{{ content }} + {{ content }} -- cgit v1.2.3