moved topcs menu to header

This commit is contained in:
2022-05-09 18:10:21 +02:00
parent c7f7af1c01
commit cd5651ac62
6 changed files with 32 additions and 12 deletions

View File

@@ -126,8 +126,9 @@ def topic(request):
if items:
liste += '<ul>'
for item in items:
liste += '<li>{0} <a href="{1}"><span class="glyphicon glyphicon-menu-right"></span> {2}</a></li>'.format(
item.edited.strftime("%d-%m-%Y"), request.route_url('blog', id=item.id, slug=item.slug), item.title)
liste += '<li><a href="{0}">{1}</a> {2}</li>'.format(
request.route_url('blog', id=item.id, slug=item.slug), item.title,
item.edited.strftime("%d-%m-%Y"))
liste += '</ul>'
else:
liste += '<ul><li> </li></ul>'