File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed
Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 22
33body {
44 font-family : "Courier Prime" , monospace !important ;
5- font-style : italic !important ;
65 font-weight : 400 !important ;
76}
87
98.md-typeset {
109 font-family : "Courier Prime" , monospace !important ;
11- font-style : italic !important ;
1210 font-weight : 400 !important ;
1311}
1412
@@ -20,4 +18,13 @@ code {
2018.md-typeset hr {
2119 border-bottom : 2px solid # 666 ;
2220 opacity : 1 ;
21+ margin : 3em 0 ;
22+ }
23+
24+ .post-meta {
25+ font-size : 0.85em ;
26+ color : # 666 ;
27+ margin-top : -1em ;
28+ margin-bottom : 1.5em ;
29+ font-style : italic;
2330}
Original file line number Diff line number Diff line change @@ -130,13 +130,13 @@ def generate_index():
130130 post_url = generate_post_url (post ['date' ], post ['slug' ])
131131
132132 # Post title (linked)
133- index_content += f"### [{ post ['title' ]} ]({ post_url } )\n "
133+ index_content += f"### [{ post ['title' ]} ]({ post_url } )\n \n "
134134
135135 # Date and tags
136- index_content += f"** { date_str } **"
136+ index_content += f'<p class="post-meta"> { date_str } '
137137 if tags_str :
138138 index_content += f" • { tags_str } "
139- index_content += "\n \n "
139+ index_content += "</p> \n \n "
140140
141141 # Excerpt
142142 if post ['excerpt' ]:
You can’t perform that action at this time.
0 commit comments