diff --git a/models/blog-post.ini b/models/blog-post.ini index 15afbd9..2368813 100644 --- a/models/blog-post.ini +++ b/models/blog-post.ini @@ -27,3 +27,7 @@ width = 1/2 [fields.body] label = Body type = markdown + +[fields.edit_comment] +label = Edit comment +type = markdown diff --git a/templates/macros/blog.html b/templates/macros/blog.html index 131311f..1174154 100644 --- a/templates/macros/blog.html +++ b/templates/macros/blog.html @@ -13,6 +13,10 @@ {{ post.body }} {% endif %} + {% if not from_index and post.edit_comment %} +