1
0
mirror of https://github.com/tiyn/amphora-wiki.git synced 2026-02-22 04:44:48 +01:00

more modern link style added

This commit is contained in:
2024-04-14 02:02:47 +02:00
parent 6287111899
commit ff169d2795
3 changed files with 4 additions and 5 deletions

View File

@@ -96,10 +96,9 @@ def gen_arch_string(path_ex):
if filename[0] != "." and filename.__contains__("."):
filename = filename.split(".", 1)[0]
content_string += "<li>"
content_string += title + " ["
content_string += "<a href=\"" + "/"+ entry_or_namespace +"/" + \
path_ex.rstrip("/") + "/" + pathlib.PurePath(file).name + "\">" + "standalone" + "</a>"
content_string += "] <br>"
path_ex.rstrip("/") + "/" + pathlib.PurePath(file).name + "\">" + title + "</a>"
content_string += "<br>"
content_string += "</li>\n"
content_string += "</ul>\n"
return content_string