PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1{% extends "page.tpl" %}
 2
 3{% block title %}{{ m.rsc[id].title }}{% endblock %}
 4
 5{% block chapeau %}
 6
 7	{% include "_article_chapeau.tpl" %}
 8
 9{% endblock %}
10
11{% block content %}
12
13    <h1>{{ m.rsc[id].title }}</h1>
14
15    {% if m.rsc[id].summary %}
16    <p class="summary">
17        {{ m.rsc[id].summary }}
18    </p>
19    {% endif %}
20
21    {{ m.rsc[id].body|show_media }}
22
23	<section id="comments">{% include "_comments.tpl" id=id %}</section>
24	{% include "_article_prevnext.tpl" id=id %}
25
26{% endblock %}
27
28{% block sidebar %}
29	{% include "_article_sidebar.tpl" %}
30{% endblock %}