Added a field to blog model to have a edit changelog
This commit is contained in:
parent
5496624871
commit
d54c73e562
2 changed files with 8 additions and 0 deletions
|
@ -27,3 +27,7 @@ width = 1/2
|
|||
[fields.body]
|
||||
label = Body
|
||||
type = markdown
|
||||
|
||||
[fields.edit_comment]
|
||||
label = Edit comment
|
||||
type = markdown
|
||||
|
|
|
@ -13,6 +13,10 @@
|
|||
{{ post.body }}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if not from_index and post.edit_comment %}
|
||||
<h3>Edits</h3>
|
||||
{{ post.edit_comment }}
|
||||
{% endif %}
|
||||
<hr class="light">
|
||||
</article>
|
||||
{% endmacro %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue