Single center

main
Bob Mottram 2019-12-12 21:41:18 +00:00
parent c8a5c09211
commit 96c05284b7
1 changed files with 2 additions and 3 deletions

View File

@ -3775,11 +3775,10 @@ def htmlHashTagCloud(baseDir: str,path: str) -> str:
if not tagCloud:
return ''
tagCloud.sort()
tagCloudHtml='<center>\n'
tagCloudStr=''
for tagName in tagCloud:
tagCloudStr+='<a href="/tags/'+tagName+'" class="hashtagcloud">'+tagName+'</a> '
tagCloudHtml+=tagCloudStr.strip()+'\n</center>\n'
tagCloudHtml=tagCloudStr.strip()+'\n'
return tagCloudHtml
def htmlSearch(translate: {}, \
@ -3809,9 +3808,9 @@ def htmlSearch(translate: {}, \
followStr+=' <input type="text" name="searchtext" autofocus><br>'
followStr+=' <button type="submit" class="button" name="submitSearch">'+translate['Submit']+'</button>'
followStr+=' </form>'
followStr+=' <p class="hashtagcloud">'+htmlHashTagCloud(baseDir,path)+'</p>'
followStr+=' </center>'
followStr+=' </div>'
followStr+=' <p class="hashtagcloud">'+htmlHashTagCloud(baseDir,path)+'</p>'
followStr+='</div>'
followStr+=htmlFooter()
return followStr