Increase threshold for larger font

main
Bob Mottram 2020-02-28 20:59:50 +00:00
parent 0a6d411360
commit 4426c32532
1 changed files with 2 additions and 2 deletions

View File

@ -4824,7 +4824,7 @@ def htmlHashTagSwarm(baseDir: str,actor: str) -> str:
if tagCtr==0: if tagCtr==0:
tagSwarm.append(hashTagName) tagSwarm.append(hashTagName)
tagCtr+=1 tagCtr+=1
if tagCtr>1: if tagCtr>2:
break break
if tagCtr>0: if tagCtr>0:
tagSwarmCtr.append(tagCtr) tagSwarmCtr.append(tagCtr)
@ -4834,7 +4834,7 @@ def htmlHashTagSwarm(baseDir: str,actor: str) -> str:
tagSwarmStr='' tagSwarmStr=''
ctr=0 ctr=0
for tagName in tagSwarm: for tagName in tagSwarm:
if tagSwarmCtr[ctr]<2: if tagSwarmCtr[ctr]<3:
tagSwarmStr+= \ tagSwarmStr+= \
'<a href="'+actor+'/tags/'+tagName+ \ '<a href="'+actor+'/tags/'+tagName+ \
'" class="hashtagswarm">'+tagName+'</a> ' '" class="hashtagswarm">'+tagName+'</a> '