1
0
mirror of https://github.com/tiyn/beaker-blog.git synced 2025-10-10 09:51:17 +02:00

added more style and fixed a link bug

This commit is contained in:
2024-04-14 00:31:07 +02:00
parent d83f66ab3d
commit 4679305c51
3 changed files with 11 additions and 2 deletions

View File

@@ -108,6 +108,7 @@ def gen_stand_string(path_ex):
title = open(filename).readline().rstrip("\n")
text = open(filename).readlines()[1:]
filename_no_end = filename.split(".", 1)[0]
filename_no_end = filename_no_end.split("/")[-1]
content_string += "<h1>" + title + "</h1>\n"
content_string += "["
content_string += "<a href=\"" + "/index.html#" + \

View File

@@ -170,3 +170,11 @@ footer .center {
figure {
padding:20px;
}
ul {
padding-left:20px;
}
ol {
padding-left:20px;
}