added more style and fixed a link bug

master
tiyn 8 months ago
parent d83f66ab3d
commit 4679305c51

@ -59,7 +59,7 @@ The `config.py` can be found in the `src` folder.
Set the following volumes with the -v tag.
| Volume-Name | Container mount | Description |
| ------------- | --------------------------- | -------------------------------------------------------- |
| ------------- | ----------------------- | ------------------------------------------------------------ |
| `config-file` | `/blog/config.py` | Config file |
| `entries` | `/blog/templates/entry` | Directory for blog entries |
| `graphics` | `/blog/static/graphics` | Directory for images needed for entries |

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

Loading…
Cancel
Save