From 1ac982a1895c79cb0477152bb470584d673bece5 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 18 Feb 2018 06:16:46 +0300 Subject: _layouts: sidebar.html -> default.html --- _layouts/category.html | 1 - _layouts/default.html | 10 ++++++++++ _layouts/sidebar.html | 10 ---------- index.html | 2 +- 4 files changed, 11 insertions(+), 12 deletions(-) create mode 100644 _layouts/default.html delete mode 100644 _layouts/sidebar.html diff --git a/_layouts/category.html b/_layouts/category.html index b58f691..b0167a7 100644 --- a/_layouts/category.html +++ b/_layouts/category.html @@ -9,7 +9,6 @@
  • {{ post.date | date: "%Y-%m-%d" }} — {{ post.title }}
  • {% endfor %} - {% else %} {% endif %}
    diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..f151314 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,10 @@ +{% include common/header.html %} +
    +
    + {{ content }} +
    +
    + {% include common/sidebar.html %} +
    +
    +{% include common/footer.html %} diff --git a/_layouts/sidebar.html b/_layouts/sidebar.html deleted file mode 100644 index f151314..0000000 --- a/_layouts/sidebar.html +++ /dev/null @@ -1,10 +0,0 @@ -{% include common/header.html %} -
    -
    - {{ content }} -
    -
    - {% include common/sidebar.html %} -
    -
    -{% include common/footer.html %} diff --git a/index.html b/index.html index 3cb854b..e498c30 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,6 @@ --- title: Main page -layout: sidebar +layout: default groups: - navbar navbar_link:  Main page -- cgit v1.2.3