diff options
author | ng0 <ng0@n0.is> | 2019-11-04 22:20:05 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-11-04 22:20:05 +0000 |
commit | d5c3f1223f0de3831cbb1efbe1f29031e39ccecd (patch) | |
tree | 06b94611bd504ab8045eccbe10dedb7757869ee9 /template | |
parent | 952748467d1db65d4d21d3137532b5075882e112 (diff) | |
download | www-d5c3f1223f0de3831cbb1efbe1f29031e39ccecd.tar.gz www-d5c3f1223f0de3831cbb1efbe1f29031e39ccecd.zip |
news with date in front.
Diffstat (limited to 'template')
-rw-r--r-- | template/index.html.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/index.html.j2 b/template/index.html.j2 index 8db599ae..f5837ba9 100644 --- a/template/index.html.j2 +++ b/template/index.html.j2 | |||
@@ -384,7 +384,7 @@ | |||
384 | </p> | 384 | </p> |
385 | <ul> | 385 | <ul> |
386 | {% for item in newsdata[:4] %} | 386 | {% for item in newsdata[:4] %} |
387 | <li><a href='news/{{ item["page"] }}' title='{{ item["date"]}}'>{{ item["title"] }}</a></li> | 387 | <li>{{ item['date'] }}: <a href="news/{{ item['page'] }}" title="{{ item['date']}}">{{ item['title'] }}</a></li> |
388 | {% endfor %} | 388 | {% endfor %} |
389 | </ul> | 389 | </ul> |
390 | </div> | 390 | </div> |