33 lines
747 B
Twig
33 lines
747 B
Twig
|
{% extends "theme-fipamo-default/fipamo-default/frame.twig" %}
|
||
|
|
||
|
{% block title %}
|
||
|
{{ title }}
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block mainContent %}
|
||
|
<article>
|
||
|
<div class="index">
|
||
|
<h2>{{title}}</h2>
|
||
|
<p>{{ content }}</p>
|
||
|
|
||
|
</div>
|
||
|
</article>
|
||
|
<section>
|
||
|
<div class="index-lists">
|
||
|
<div class="recent">
|
||
|
<span>RECENT</span><br />
|
||
|
{% for item in recent %}
|
||
|
<a href="{{ "/"~item.path~"/"~item.slug~".html" }}"> {{item.title}} </a><br />
|
||
|
{% endfor %}
|
||
|
|
||
|
</div>
|
||
|
<div class="featured">
|
||
|
<span>FEATURED</span><br />
|
||
|
{% for item in featured %}
|
||
|
<a href="{{ "/"~item.path~"/"~item.slug~".html" }}"> {{item.title}} </a><br />
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</section>
|
||
|
{% endblock %}
|