mirror of https://gitlab.com/bashrc2/epicyon
Navigation markup
parent
908e6b5c84
commit
f3122480d2
|
@ -171,6 +171,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
|
|||
linksList = sharesList + linksList
|
||||
|
||||
if linksList:
|
||||
htmlStr += '<nav>\n'
|
||||
for lineStr in linksList:
|
||||
if ' ' not in lineStr:
|
||||
if '#' not in lineStr:
|
||||
|
@ -215,6 +216,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
|
|||
htmlStr += \
|
||||
' <p>' + lineStr + '</p>\n'
|
||||
linksFileContainsEntries = True
|
||||
htmlStr += '</nav>\n'
|
||||
|
||||
if firstSeparatorAdded:
|
||||
htmlStr += separatorStr
|
||||
|
|
|
@ -297,6 +297,9 @@ def _htmlNewswire(baseDir: str, newswire: {}, nickname: str, moderator: bool,
|
|||
totalVotesStr
|
||||
htmlStr += ' <span class="newswireDate">'
|
||||
htmlStr += dateShown + '</span></p>\n'
|
||||
|
||||
if htmlStr:
|
||||
htmlStr = '<nav>\n' + htmlStr + '</nav>\n'
|
||||
return htmlStr
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue