From af8bf97fae274887893f7275bea36301939aeb85 Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Sun, 6 Feb 2022 20:15:52 +0800 Subject: [PATCH] archive-single: remove one layer of unneeded div --- _includes/archive-single.html | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/_includes/archive-single.html b/_includes/archive-single.html index 8538864..b440bc9 100644 --- a/_includes/archive-single.html +++ b/_includes/archive-single.html @@ -16,21 +16,19 @@ {% assign desc_truncate = 160 %} {% endif %} -
-
- {% if include.type == "grid" and teaser %} -
- -
+
+ {% if include.type == "grid" and teaser %} +
+ +
+ {% endif %} +

+ {% if post.link %} + {{ title }} Permalink + {% else %} + {{ title }} {% endif %} -

- {% if post.link %} - {{ title }} Permalink - {% else %} - {{ title }} - {% endif %} -

- {% include page__meta.html type=include.type %} - {% if post.excerpt %}

{{ post.excerpt | markdownify | strip_html | truncate: desc_truncate }}

{% endif %} -
-
+ + {% include page__meta.html type=include.type %} + {% if post.excerpt %}

{{ post.excerpt | markdownify | strip_html | truncate: desc_truncate }}

{% endif %} + -- 2.43.0