I changed render.py and fixed json issues
This commit is contained in:
parent
21726eb2d7
commit
585cb93336
4 changed files with 7 additions and 5 deletions
|
@ -13,4 +13,6 @@
|
|||
"networks_write":[],
|
||||
"formats_read":[],
|
||||
"formats_write":[],
|
||||
"generic_name":["Social Media", "Photo Sharing", "Client"]}
|
||||
"generic_name":["Instagram Client",
|
||||
"Image Sharing",
|
||||
"Social Network"]}
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
"ActivityPub"],
|
||||
"formats_read":[],
|
||||
"formats_write":[],
|
||||
"generic_name":["Social Media", "Photo Sharing", "Fediverse"]}
|
||||
"generic_name":["Social Network", "Image Sharing", "Messanger", "Fediverse"]}
|
||||
|
|
Binary file not shown.
|
@ -114,7 +114,7 @@ def suggestions(page, json):
|
|||
|
||||
# This function will render suggestions
|
||||
|
||||
page = page + "<br><br><h1>Free Competitors:</h1><br><br>"
|
||||
page = page + "<h1>Free Competitors:</h1>"
|
||||
|
||||
found = search.suggest(json)
|
||||
|
||||
|
@ -126,7 +126,7 @@ def suggestions(page, json):
|
|||
|
||||
if not i[0] or i[-1] == json or not free:
|
||||
continue
|
||||
page = page + "<br><br>"
|
||||
#page = page + "<br><br>"
|
||||
page = html(page, i[-1])
|
||||
|
||||
return page
|
||||
|
@ -148,7 +148,7 @@ def source_code_link(page):
|
|||
|
||||
# Adds a source code link
|
||||
|
||||
page = page + "<br><br><p>This website is under the GNU AGPL license.</p>"
|
||||
page = page + "<br><br><hr><p>This website is under the GNU AGPL license.</p>"
|
||||
page = page + """
|
||||
<form action=https://notabug.org/jyamihud/FreeCompetitors>
|
||||
<button type="submit">Source Code</button>
|
||||
|
|
Loading…
Reference in a new issue