diff --git a/jenny-doc.md b/jenny-doc.md new file mode 100644 index 0000000..d083919 --- /dev/null +++ b/jenny-doc.md @@ -0,0 +1,9 @@ +# Jenny, the static site generator script + +# Supported commands: + +post_title: string +post_date: date specified in the format `YYYY.MM.DD` +post_tags: list of tags, separated by a `+` +post_languages: list of languages in the post, for including the font files for the languages. defaults to 'en'. +has_toc: "true" or "false". can be in any casing. diff --git a/jenny.py b/jenny.py index 4f66e1a..0b252c6 100755 --- a/jenny.py +++ b/jenny.py @@ -336,7 +336,7 @@ def process_posts(): post['post_content'] = process_code_blocks(post['post_content']) file_name = os.path.basename( f ) - destination = os.path.join( out_dir , os.path.splitext( file_name )[ 0 ] + ".html" ) + destination = os.path.join( out_dir , os.path.splitext( file_name )[ 0 ][7:] + ".html" ) post["dest"] = destination destination.rstrip(".md") diff --git a/public/220510-about-jenny.html b/public/about-jenny.html similarity index 100% rename from public/220510-about-jenny.html rename to public/about-jenny.html diff --git a/public/archive.html b/public/archive.html index aaac3e0..d3be381 100644 --- a/public/archive.html +++ b/public/archive.html @@ -36,7 +36,7 @@
Here's all of my blogposts. They're written on various subjects, mostly on whatever catches my interest at the time of writing the post.