Skip to content

Commit

Permalink
Add blog article binded content area.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaspar Naaber committed Mar 2, 2017
1 parent e8cd528 commit 4553678
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/post-box.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@

<div class="post-content">
<div class="post-excerpt content-formatted" {% if post-box == "article" %}{{ edy_intro_edit_text }}{% endif %}>{% if post-box == "article" %}{% editable article.excerpt %}{% else %}{{ article.excerpt }}{% endif %}</div>
{% if post-box == "article" %}<div class="post-body content-formatted">{% editable article.body %}</div>{% endif %}
{% if post-box == "article" %}
<div class="post-body content-formatted">{% editable article.body %}</div>
<div class="post-body content-formatted">{% content name="additional_body" bind="Article" %}</div>
{% endif %}
</div>

<footer class="post-footer">
Expand Down

0 comments on commit 4553678

Please sign in to comment.