diff community-news.html @ 129:88b2480e271a

Newsfeed: Introduce category "release" to mark very important news. Category "news release" creates a sub directory "<page_root>/news/release". Some care has to be taken: URLs like /news/2013/02/21/octave-3.6.4-released.html are now /news/release/2013/02/21/octave-3.6.4-released.html.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Wed, 01 Feb 2017 14:48:58 +0100
parents 49c2fa89daa8
children 7e69ba942984
line wrap: on
line diff
--- a/community-news.html	Fri Jan 13 23:45:10 2017 +0100
+++ b/community-news.html	Wed Feb 01 14:48:58 2017 +0100
@@ -30,7 +30,7 @@
 </head>
 <body>
 
-{% for post in site.categories.news limit:3 %}
+{% for post in site.categories.release limit:3 %}
 
 <h2><a href="{{ post.url | absolute_url }}">{{ post.title }}</a></h2>