From 841fe7deb99f05c633fad150b8989bb067caa69f Mon Sep 17 00:00:00 2001 From: Maria Rushkova Date: Wed, 4 Aug 2021 15:16:29 +0200 Subject: [PATCH] Add mobile lists --- _includes/media-preview.html | 7 ++++++ _includes/post-preview.html | 8 +++++++ index.html | 42 ++++++++++++------------------------ 3 files changed, 29 insertions(+), 28 deletions(-) create mode 100644 _includes/media-preview.html create mode 100644 _includes/post-preview.html diff --git a/_includes/media-preview.html b/_includes/media-preview.html new file mode 100644 index 0000000..2a7abc6 --- /dev/null +++ b/_includes/media-preview.html @@ -0,0 +1,7 @@ +
  • + {{ mediapost.title }} +
  • diff --git a/_includes/post-preview.html b/_includes/post-preview.html new file mode 100644 index 0000000..b5a452d --- /dev/null +++ b/_includes/post-preview.html @@ -0,0 +1,8 @@ +
  • + {{ post.title }} +
  • diff --git a/index.html b/index.html index ab2fdb0..77790d6 100644 --- a/index.html +++ b/index.html @@ -480,20 +480,13 @@ layout: default
    -
      - {% for post in site.posts limit:8 %} -
    • - {{ post.title }} -
    • - {% endfor %} + +
        + {% for post in site.posts limit:4 %} {% include post-preview.html %} {% + endfor %}