/priv/skel/blog/templates/article.tpl
https://code.google.com/p/zotonic/ · Smarty Template · 30 lines · 19 code · 11 blank · 0 comment · 5 complexity · e657e638553426cadb4256ecf16e167c MD5 · raw file
- {% extends "page.tpl" %}
- {% block title %}{{ m.rsc[id].title }}{% endblock %}
- {% block chapeau %}
- {% include "_article_chapeau.tpl" %}
- {% endblock %}
- {% block content %}
- <h1>{{ m.rsc[id].title }}</h1>
- {% if m.rsc[id].summary %}
- <p class="summary">
- {{ m.rsc[id].summary }}
- </p>
- {% endif %}
- {{ m.rsc[id].body|show_media }}
- <section id="comments">{% include "_comments.tpl" id=id %}</section>
- {% include "_article_prevnext.tpl" id=id %}
- {% endblock %}
- {% block sidebar %}
- {% include "_article_sidebar.tpl" %}
- {% endblock %}