html: in-dev of sidebar fonction : create sidebar.html in wip/template
This commit is contained in:
parent
aaf689a4fe
commit
56bfa10767
|
@ -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 + \
|
||||||
|
|
Loading…
Reference in New Issue