From bea80928f694671010bc99493d31879df7d42836 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Wed, 4 Sep 2024 20:05:51 +0200 Subject: initial commit --- templates/blogpost.html.j2 | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 templates/blogpost.html.j2 (limited to 'templates/blogpost.html.j2') diff --git a/templates/blogpost.html.j2 b/templates/blogpost.html.j2 new file mode 100644 index 0000000..7375ee4 --- /dev/null +++ b/templates/blogpost.html.j2 @@ -0,0 +1,30 @@ +{% extends "base.html.j2" %} +{% block page_title %}{{ post.title() }} {{ super() }}{% endblock %} +{% block page_title_short %}{{ post.title() }}{% endblock %} +{% block content %} +

{{ post.title() }}

+

{{ post.get_prompt("ls tags/") }} +
+{{ post.get_tags() }}

+
+

{{ post.get_prompt("stat -c %.10w content") }} +
+{{ post.get_publish_time() }}

+
+

{{ post.get_cat_prompt("content") }}

+
+{{ post.html|safe }} +
+

{{ post.get_prompt("find other_posts/ -type f -exec head {} +") }}

+{% for similar in post.get_similar_posts() %} + +
+

{{ similar.title() }}

+

{{ similar.intro }}

+
+
+ +
+
+{% endfor %} +{% endblock %} -- cgit v1.2.3-70-g09d2