Additional text in left column

main
Bob Mottram 2020-10-01 23:40:07 +01:00
parent 1d4362537d
commit 86df8d64ee
2 changed files with 11 additions and 2 deletions

View File

@ -943,17 +943,16 @@ aside .toggle-inside li {
}
.col-left a:link {
background: var(--column-left-color);
color: var(--column-left-fg-color);
}
.col-left a:visited {
background: var(--column-left-color);
color: var(--column-left-fg-color);
}
.column-left {
background-color: var(--column-left-color);
width: var(--column-left-width);
}
.col-left {
color: var(--column-left-fg-color);
padding: 10px 10px;
font-size: var(--font-size-links);
float: left;

View File

@ -5195,6 +5195,16 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
htmlStr += \
' <p><a href="' + linkStr + '">' + \
lineStr + '</a></p>\n'
else:
if lineStr:
if lineStr.startswith('#'):
linestr = lineStr[1:].strip()
htmlStr += \
' <h5>' + lineStr + '</h5>\n'
else:
htmlStr += \
' <p>' + lineStr + '</p>\n'
return htmlStr