diff options
Diffstat (limited to 'pyblog')
-rwxr-xr-x | pyblog | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -654,7 +654,7 @@ def generate_blog_list(feed): lines = indexmd.readlines() with open("build/blog/index.html", 'w', encoding='utf-8') as indexmd: for line in lines: - indexmd.write(re.sub(r'-- generate blog_list here --', div_blog_list, line)) + indexmd.write(re.sub(r'{% generate blog_list here %}', div_blog_list, line)) def generate_notes_list(): @@ -740,7 +740,7 @@ def generate_notes_list(): lines = indexmd.readlines() with open("build/notes/index.html", 'w', encoding='utf-8') as indexmd: for line in lines: - indexmd.write(re.sub(r'-- generate notes_list here --', div_notes_list, line)) + indexmd.write(re.sub(r'{% generate notes_list here %}', div_notes_list, line)) |