mirror of https://gitlab.com/bashrc2/epicyon
Show citations as a list
parent
3c6a35b280
commit
3de8da92ae
|
@ -2757,6 +2757,7 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
|
||||||
citationsStr = '<div class="container">\n'
|
citationsStr = '<div class="container">\n'
|
||||||
citationsStr += '<p><label class="labels">' + \
|
citationsStr += '<p><label class="labels">' + \
|
||||||
translate['Citations'] + ':</label></p>\n'
|
translate['Citations'] + ':</label></p>\n'
|
||||||
|
citationsStr += ' <ul>\n'
|
||||||
citationsSeparator = '#####'
|
citationsSeparator = '#####'
|
||||||
with open(citationsFilename, "r") as f:
|
with open(citationsFilename, "r") as f:
|
||||||
citations = f.readlines()
|
citations = f.readlines()
|
||||||
|
@ -2769,7 +2770,8 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
|
||||||
title = sections[1]
|
title = sections[1]
|
||||||
link = sections[2]
|
link = sections[2]
|
||||||
citationsStr += \
|
citationsStr += \
|
||||||
'<a href="' + link + '">' + title + '</a><br>'
|
' <li><a href="' + link + '">' + title + '</a></li>'
|
||||||
|
citationsStr += ' </ul>\n'
|
||||||
citationsStr += '</div>\n'
|
citationsStr += '</div>\n'
|
||||||
|
|
||||||
dateAndLocation = ''
|
dateAndLocation = ''
|
||||||
|
|
Loading…
Reference in New Issue