mirror of https://gitlab.com/bashrc2/epicyon
Don't show shares on front page
parent
11458f73e4
commit
982c7e556e
|
@ -176,14 +176,15 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
|
|||
with open(linksFilename, "r") as f:
|
||||
linksList = f.readlines()
|
||||
|
||||
# show a number of shares
|
||||
maxSharesInLeftColumn = 3
|
||||
sharesList = \
|
||||
getLeftColumnShares(baseDir,
|
||||
httpPrefix, domainFull, nickname,
|
||||
maxSharesInLeftColumn, translate)
|
||||
if linksList and sharesList:
|
||||
linksList += sharesList
|
||||
if not frontPage:
|
||||
# show a number of shares
|
||||
maxSharesInLeftColumn = 3
|
||||
sharesList = \
|
||||
getLeftColumnShares(baseDir,
|
||||
httpPrefix, domainFull, nickname,
|
||||
maxSharesInLeftColumn, translate)
|
||||
if linksList and sharesList:
|
||||
linksList += sharesList
|
||||
|
||||
if linksList:
|
||||
for lineStr in linksList:
|
||||
|
|
Loading…
Reference in New Issue