{% set topics = topics_data() %}
{% if topics is defined %}
<div class="topics" style="box-sizing: content-box;">
{% for key, topic in topics %}
{% if key <= 4 %}
<hr noshade size=1 style="background-color:#EBF2F5;border:none;border-top:1px dashed #CCCCCC;;margin:8px 0px 8px 0px;" />
<p style="font-weight:bold">{{ topic.cdate }}</p>
<p>{{ topic.topix_title }}</p>
<p>{{ topic.topix_comment | trans | raw }}</p>
{% endif %}
{% endfor %}
{% if topics | length > 5 %}
<hr noshade size=1 style="background-color:#EBF2F5;border:none;border-top:1px dashed #CCCCCC;;margin:8px 0px 8px 0px;" />
<div style="text-align:right"><a href="/topics">もっと見る</a></div>
{% endif %}
</div>
{% endif %}