From 63ecf999bb111b745088754b106bf4b2fbfa30c9 Mon Sep 17 00:00:00 2001 From: Veikka Kähkönen Date: Tue, 28 Nov 2017 16:24:05 +0200 Subject: Make post list prettier on index --- _sass/_info.scss | 12 ++++++++++++ index.html | 21 +++++++++++++++++---- 2 files changed, 29 insertions(+), 4 deletions(-) diff --git a/_sass/_info.scss b/_sass/_info.scss index 7c6e256..04cc1d4 100644 --- a/_sass/_info.scss +++ b/_sass/_info.scss @@ -7,3 +7,15 @@ color: white; padding: 0.4em; } + +.post_list { + list-style-type: none; +} + +.post_list__title { + margin-bottom: 0; +} + +.post_list__element { + margin-bottom: 0.4em; +} diff --git a/index.html b/index.html index ec163c9..21543be 100644 --- a/index.html +++ b/index.html @@ -11,10 +11,23 @@ layout: default

Ajankohtaista

- {%for post in site.posts limit:5 %} -
  • {{ post.date | date: "%d.%m.%Y" }} - {{ post.title }}
  • - {% endfor %} -
  • Lisää uutisia uutisarkistossa
  • + + Vanhemmat uutiset
    -- cgit v1.3