mirror of https://gitlab.com/bashrc2/epicyon
Additional text in left column
parent
86df8d64ee
commit
9d89be69d9
|
@ -5172,11 +5172,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
|
||||||
for lineStr in linksList:
|
for lineStr in linksList:
|
||||||
if ' ' not in lineStr:
|
if ' ' not in lineStr:
|
||||||
continue
|
continue
|
||||||
if '://' not in lineStr and '.html' not in lineStr:
|
|
||||||
continue
|
|
||||||
lineStr = lineStr.strip()
|
lineStr = lineStr.strip()
|
||||||
if lineStr.startswith('#'):
|
|
||||||
continue
|
|
||||||
words = lineStr.split(' ')
|
words = lineStr.split(' ')
|
||||||
# get the link
|
# get the link
|
||||||
linkStr = None
|
linkStr = None
|
||||||
|
@ -5197,7 +5193,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
|
||||||
lineStr + '</a></p>\n'
|
lineStr + '</a></p>\n'
|
||||||
else:
|
else:
|
||||||
if lineStr:
|
if lineStr:
|
||||||
if lineStr.startswith('#'):
|
if lineStr.startswith('#') or lineStr.startswith('*'):
|
||||||
linestr = lineStr[1:].strip()
|
linestr = lineStr[1:].strip()
|
||||||
htmlStr += \
|
htmlStr += \
|
||||||
' <h5>' + lineStr + '</h5>\n'
|
' <h5>' + lineStr + '</h5>\n'
|
||||||
|
|
Loading…
Reference in New Issue