diff --git a/modules/__pycache__/render.cpython-38.pyc b/modules/__pycache__/render.cpython-38.pyc index 46a568a..58eb10c 100644 Binary files a/modules/__pycache__/render.cpython-38.pyc and b/modules/__pycache__/render.cpython-38.pyc differ diff --git a/modules/__pycache__/search.cpython-38.pyc b/modules/__pycache__/search.cpython-38.pyc index 8bf4006..918d655 100644 Binary files a/modules/__pycache__/search.cpython-38.pyc and b/modules/__pycache__/search.cpython-38.pyc differ diff --git a/modules/render.py b/modules/render.py index 31142c1..eeae20d 100644 --- a/modules/render.py +++ b/modules/render.py @@ -16,25 +16,32 @@ def html(page, json): if "licenses" in json and json["licenses"]: free = True + + page = page + "\n
"+json.get("comment","")+"
" - + # I want to show nothing else from if it's proprietary + if not free: + l = json.get("issues", []) + page = page +"- """ - git = json.get("links",{}).get("git", "") - if git: + links = json.get("links", {}) + for website in links: + if website in ["icon"]: + continue + link = links[website] page = page + """ - | - """ - - wikipedia = json.get("links",{}).get("wikipedia", "") - if wikipedia: - page = page + """ - | - """ - - documentation = json.get("links",{}).get("documentation", "") - if documentation: - page = page + """ - |
---|