more modern link style added

master
tiyn 9 months ago
parent 6287111899
commit ff169d2795

@ -15,7 +15,7 @@ I however just want to put my markdown files in a directory and get a working wi
- [ ] Option to get plain text file
- [ ] Optimize CSS for code
- [x] Start page
- [ ] Overview of pages and namespaces
- [x] Overview of pages and namespaces
- [x] Search page
- [x] Full-text search
- [x] Show first few lines of each match (preview)

@ -1,3 +1,3 @@
#!/bin/sh
docker-compose down
docker-compose up -d
docker-compose up -d --build

@ -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

Loading…
Cancel
Save