forked from indymedia/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:
|
with open(linksFilename, "r") as f:
|
||||||
linksList = f.readlines()
|
linksList = f.readlines()
|
||||||
|
|
||||||
# show a number of shares
|
if not frontPage:
|
||||||
maxSharesInLeftColumn = 3
|
# show a number of shares
|
||||||
sharesList = \
|
maxSharesInLeftColumn = 3
|
||||||
getLeftColumnShares(baseDir,
|
sharesList = \
|
||||||
httpPrefix, domainFull, nickname,
|
getLeftColumnShares(baseDir,
|
||||||
maxSharesInLeftColumn, translate)
|
httpPrefix, domainFull, nickname,
|
||||||
if linksList and sharesList:
|
maxSharesInLeftColumn, translate)
|
||||||
linksList += sharesList
|
if linksList and sharesList:
|
||||||
|
linksList += sharesList
|
||||||
|
|
||||||
if linksList:
|
if linksList:
|
||||||
for lineStr in linksList:
|
for lineStr in linksList:
|
||||||
|
|
Loading…
Reference in New Issue