summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-01-16 21:57:27 +0200
committerLars Wirzenius <liw@liw.fi>2018-01-16 21:57:27 +0200
commit1c1c99659fd00b2bdf38618fd13acee6019e6cd7 (patch)
tree21ed264393d24e3414d94714cba9d19585adf065
parent91da5bca3f3d0637d7bb7df716e7c3a75816d3e4 (diff)
downloadick.liw.fi-1c1c99659fd00b2bdf38618fd13acee6019e6cd7.tar.gz
Change: make list of news be a list
-rw-r--r--index.mdwn2
-rw-r--r--local.css6
2 files changed, 8 insertions, 0 deletions
diff --git a/index.mdwn b/index.mdwn
index 584a711..870c985 100644
--- a/index.mdwn
+++ b/index.mdwn
@@ -19,5 +19,7 @@ of all your CI worries, **please join and help** make that happen.
Latest news from the project:
+<div class="newslist">
[[!inline pages="page(blog/*) and tagged(news)"
limit=5 template=titlepage archive=yes trail=no feeds=no]]
+</div>
diff --git a/local.css b/local.css
index 5820aaf..2ac136a 100644
--- a/local.css
+++ b/local.css
@@ -40,3 +40,9 @@ li.L5 { list-style: decimal; }
li.L6 { list-style: decimal; }
li.L7 { list-style: decimal; }
li.L8 { list-style: decimal; }
+
+
+/* make list of news items look like a list */
+.newslist p {
+ display: list-item;
+}