From e2c06d2681e18946ab6c3e3e6075aed92a4d13be Mon Sep 17 00:00:00 2001 From: Karl Hallsby Date: Sun, 3 Oct 2021 00:35:46 -0500 Subject: Change to al-folio theme Theme at: https://github.com/alshedivat/al-folio --- _includes/news.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 _includes/news.html (limited to '_includes/news.html') diff --git a/_includes/news.html b/_includes/news.html new file mode 100644 index 0000000..e1fc80b --- /dev/null +++ b/_includes/news.html @@ -0,0 +1,24 @@ +
+

news

+ {% if site.news %} +
+ + {% assign news = site.news | reverse %} + {% for item in news limit: site.news_limit %} + + + + + {% endfor %} +
{{ item.date | date: "%b %-d, %Y" }} + {% if item.inline %} + {{ item.content | remove: '

' | remove: '

' | emojify }} + {% else %} + {{ item.title }} + {% endif %} +
+
+ {% else %} +

No news so far...

+ {% endif %} +
-- cgit v1.2.3