mirror of
https://github.com/tiyn/beaker-blog.git
synced 2025-04-02 15:37:46 +02:00
added more style and fixed a link bug
This commit is contained in:
parent
d83f66ab3d
commit
4679305c51
@ -58,8 +58,8 @@ The `config.py` can be found in the `src` folder.
|
||||
|
||||
Set the following volumes with the -v tag.
|
||||
|
||||
| Volume-Name | Container mount | Description |
|
||||
| ------------- | --------------------------- | -------------------------------------------------------- |
|
||||
| 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…
x
Reference in New Issue
Block a user