2022-02-06 00:27:02 +01:00
|
|
|
{% extends "frame.twig" %}
|
2021-04-21 08:14:49 +02:00
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
{{ title }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block mainContent %}
|
|
|
|
<article>
|
|
|
|
<div class="index">
|
|
|
|
<h2>{{title}}</h2>
|
2021-04-23 01:03:48 +02:00
|
|
|
<p>{{ content | raw }}</p>
|
2021-04-21 08:14:49 +02:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
<section>
|
|
|
|
<div class="index-lists">
|
|
|
|
<div class="recent">
|
|
|
|
<span>RECENT</span><br />
|
|
|
|
{% for item in recent %}
|
2022-02-06 00:42:16 +01:00
|
|
|
{% if dynamicRender is defined %}
|
|
|
|
{% if dynamicRender == 'true' %}
|
|
|
|
<a href="{{ "/"~item.path~"/"~item.slug}}"> {{item.title}} </a><br />
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ "/"~item.path~"/"~item.slug~".html" }}"> {{item.title}} </a><br />
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ "/"~item.path~"/"~item.slug~".html" }}"> {{item.title}} </a><br />
|
|
|
|
{% endif %}
|
2021-04-21 08:14:49 +02:00
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="featured">
|
|
|
|
<span>FEATURED</span><br />
|
|
|
|
{% for item in featured %}
|
2022-02-06 00:42:16 +01:00
|
|
|
{% if dynamicRender is defined %}
|
|
|
|
{% if dynamicRender == 'true' %}
|
|
|
|
<a href="{{ "/"~item.path~"/"~item.slug}}"> {{item.title}} </a><br />
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ "/"~item.path~"/"~item.slug~".html" }}"> {{item.title}} </a><br />
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ "/"~item.path~"/"~item.slug~".html" }}"> {{item.title}} </a><br />
|
|
|
|
{% endif %}
|
2021-04-21 08:14:49 +02:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
{% endblock %}
|