This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/_sakura/templates/yuuno/main/index.tpl
flashwave e5a8c1131c r20151121
Signed-off-by: Flashwave <me@flash.moe>
2015-11-21 16:27:37 +01:00

20 lines
744 B
Smarty
Executable file

{% extends 'global/master.tpl' %}
{% block content %}
<div class="content homepage">
<div class="content-right content-column">
{% include 'elements/indexPanel.tpl' %}
</div>
<div class="content-left content-column">
<div class="head">News <div class="links"><a href="{{ urls.format('SITE_NEWS_RSS') }}" class="fa fa-rss news-rss default"></a></div></div>
{% for post in news.posts|batch(newsCount)[0] %}
{% include 'elements/newsPost.tpl' %}
{% endfor %}
</div>
<div class="clear"></div>
</div>
{% endblock %}
{% block js %}
<script type="text/javascript" src="{{ sakura.resources }}/js/ybabstat.js"></script>
{% endblock %}