From 2d91f98aae123493bf3739f874cf42a73dbb643b Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Wed, 9 Dec 2020 12:39:31 +0300 Subject: move duplicated code to include file because it was the same in tagsort and other pages. --- _layouts/tagsort.html | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to '_layouts') diff --git a/_layouts/tagsort.html b/_layouts/tagsort.html index 4265df2..359484a 100644 --- a/_layouts/tagsort.html +++ b/_layouts/tagsort.html @@ -6,15 +6,6 @@ layout: default
{% for post in site.tags[page.tag] %} -
-

- {{ post.title }} -

- {{ post.excerpt }} -

- read more... -

-

{{ post.date | date_to_string }}

-
+ {% include post-preview.html %} {% endfor %}
-- cgit v1.2.3