20 lines
744 B
Smarty
Executable file
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 %}
|