html: in-dev of sidebar fonction : create sidebar.html in wip/template

This commit is contained in:
Cyrille L 2022-11-30 16:54:58 +01:00
parent aaf689a4fe
commit 56bfa10767
1 changed files with 3 additions and 3 deletions

View File

@ -121,13 +121,13 @@ def create_sdb_item(db_article):
' %s\n'%post_title + \ ' %s\n'%post_title + \
' </p>\n' + \ ' </p>\n' + \
' <p class="sidebar-post-metas">\n' + \ ' <p class="sidebar-post-metas">\n' + \
' <span id="%s"\n'%post_author + \ ' <span class="sidebar-%s"\n'%post_author + \
' title="%s %s %s">%s %s</span>\n'%( ' title="%s %s %s">%s %s</span>\n'%(
post_author, html.trans[13][html.fl], post_title, post_author, html.trans[13][html.fl], post_title,
html.trans[9][html.fl], post_author html.trans[9][html.fl], post_author
) + \ ) + \
' <span id="sep">, %s</span>\n'%html.trans[10][html.fl] + \ ' <span class="sidebar-sep">, %s</span>\n'%html.trans[10][html.fl] + \
' <span id="date">%s</span>\n'%html.sdb_date + \ ' <span class="sidebar-date">%s</span>\n'%html.sdb_date + \
' </p>\n' + \ ' </p>\n' + \
' <p class="sidebar-post-about">\n' + \ ' <p class="sidebar-post-about">\n' + \
' %s\n'%post_about + \ ' %s\n'%post_about + \