recommended articles ignore bad paths

This commit is contained in:
chimchooree
2020-11-24 23:08:14 -06:00
parent e107206fce
commit f0504114ed
3 changed files with 17 additions and 9 deletions
+4 -2
View File
@@ -16,8 +16,10 @@
<h1>latest</h1>
<div class="latest-text">
<ul>
% for l in latest:
<li>&#9;<a href=/{{l[0]}} rel="nofollow">{{!l[1]}}</a></li>
% if len(latest) > 0:
% print(str(len(latest)))
% for l in latest:
<li>&#9;<a href=/{{l[0]}} rel="nofollow">{{!l[1]}}</a></li>
% end
</ul>
<br>