diff --git a/CHANGELOG.md b/CHANGELOG.md index 16ec01b..51343c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ Instances of quickblog can be seen [here](https://github.com/borkdude/quickblog? ## Unreleased +- Fixed new-post.md example in README.md - Upgrade babashka/http-server to 0.1.14 - Add support for a blog contained within another website; see [Serving an alternate content root](https://github.com/borkdude/quickblog/README.md#serving-an-alternate-content-root) in README. ([@jmglov](https://github.com/jmglov)) - Fix `:blog-image-alt` option being ignored when using CLI (`bb quickblog render`) diff --git a/README.md b/README.md index cc23d27..da6946f 100644 --- a/README.md +++ b/README.md @@ -284,11 +284,11 @@ this: ``` markdown Title: {{title}} Date: {{date}} -Tags: {{tags|join:\",\"}} -Image: {% if image %}{{image}}{% else %}{{assets-dir}}/{{file|replace:.md:}}-preview.png{% endif %} +Tags: {{tags|join:","}} +Image: {% if image %}{{image}}{% else %}{{assets-dir}}/{{file|replace:".md":""}}-preview.png{% endif %} Image-Alt: {{image-alt|default:FIXME}} Discuss: {{discuss|default:FIXME}} -{% if preview %}Preview: true\n{% endif %} +{% if preview %}Preview: true{% endif %} Write a blog post here! ```