mirror of
https://github.com/tiyn/beaker-blog.git
synced 2025-04-02 15:37:46 +02:00
styling: improved date on standalone articles
This commit is contained in:
parent
00686923b4
commit
9d11c25bf1
@ -116,11 +116,10 @@ def gen_stand_string(path_ex):
|
|||||||
content_string += "<h1>" + title + "</h1>\n"
|
content_string += "<h1>" + title + "</h1>\n"
|
||||||
content_string += "<a href=\"" + "/index.html#" + \
|
content_string += "<a href=\"" + "/index.html#" + \
|
||||||
filename_no_end + "\">" + curr_date + "</a>"
|
filename_no_end + "\">" + curr_date + "</a>"
|
||||||
content_string += "<br>\n"
|
content_string += "<br><br>\n"
|
||||||
if filename.endswith(".html"):
|
if filename.endswith(".html"):
|
||||||
for line in text:
|
for line in text:
|
||||||
content_string += line
|
content_string += line
|
||||||
content_string += "<br>"
|
|
||||||
if filename.endswith(".md"):
|
if filename.endswith(".md"):
|
||||||
content_string += gen_md_content(filename, 1)
|
content_string += gen_md_content(filename, 1)
|
||||||
return content_string
|
return content_string
|
||||||
|
@ -177,6 +177,10 @@ h3 {
|
|||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.standalone h1:first-child {
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.imprint h1:first-child {
|
.imprint h1:first-child {
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user