From 133ce84fd2e565df767ecd0814891965c9d2a94d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 30 Sep 2019 03:04:08 +0300 Subject: inherit layouts from default.html --- _layouts/category.html | 30 ++++++++++++------------------ _layouts/post.html | 26 ++++++++++---------------- 2 files changed, 22 insertions(+), 34 deletions(-) (limited to '_layouts') diff --git a/_layouts/category.html b/_layouts/category.html index b0167a7..fa50437 100644 --- a/_layouts/category.html +++ b/_layouts/category.html @@ -1,18 +1,12 @@ -{% include common/header.html %} -
-
-

Category: {{ page.title }}

-

This is a complete list of posts in the "{{ page.category }}" category.

- {% if site.categories[page.category].size > 0 %} - - {% endif %} -
-
- {% include common/sidebar.html %} -
-
-{% include common/footer.html %} +--- +layout: default +--- +

Category: {{ page.title }}

+

This is a complete list of posts in the "{{ page.category }}" category.

+{% if site.categories[page.category].size > 0 %} + +{% endif %} diff --git a/_layouts/post.html b/_layouts/post.html index 83f11b7..22a753a 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,16 +1,10 @@ -{% include common/header.html %} -
-
-

{{ page.title }}

-

-  Posted on {{ page.date | date: '%-d %B %Y' }} - {%- if page.category %} in  {{ page.category }}{% endif %} -

- {{ content }} -
-
-
- {% include common/sidebar.html %} -
-
-{% include common/footer.html %} +--- +layout: default +--- +

{{ page.title }}

+

+  Posted on {{ page.date | date: '%-d %B %Y' }} + {%- if page.category %} in  {{ page.category }}{% endif %} +

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