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:
@@ -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#" + \
|
||||
|
@@ -170,3 +170,11 @@ footer .center {
|
||||
figure {
|
||||
padding:20px;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left:20px;
|
||||
}
|
||||
|
||||
ol {
|
||||
padding-left:20px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user