From 2a7dd279de92f76a9b2894f6226114af709c3d8e Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Thu, 20 Jan 2022 11:46:39 -0300 Subject: [PATCH] Found a way to add a changelog to posts --- content/research/decoding-fast-examples.md | 9 +++------ templates/page.html | 15 ++++++++++++++- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/content/research/decoding-fast-examples.md b/content/research/decoding-fast-examples.md index 3fcf128..482dd0b 100644 --- a/content/research/decoding-fast-examples.md +++ b/content/research/decoding-fast-examples.md @@ -4,6 +4,9 @@ date = 2022-01-12 [taxonomies] tags = ["finance", "binary", "protocol", "fix", "fast", "examples"] + +[extra.changelog] +2022-01-12 = "First release" +++ After the whole explanation about the definition of the FAST protocol, I @@ -239,9 +242,3 @@ faster now: username "Me" is 54. Since this is the last element of "InnerSequence", that sequence is complete; also, this is the last element of "OuterSequence", so everything is done. - ---- - -Changelog: - -- 2022-01-17: First release. diff --git a/templates/page.html b/templates/page.html index ec0d9c5..4f273cd 100644 --- a/templates/page.html +++ b/templates/page.html @@ -9,5 +9,18 @@ {{ page.content | safe }} -{% endblock content %} +{% if page.extra and page.extra.changelog %} +
+ +

Changelog

+ + +{% endif %} + +{% endblock content %} +