work.suroh.tk/_includes/page.njk

25 lines
518 B
Plaintext

{% extends "base.njk" %}
{% block content %}
<section class="page">
{% if imgFeat %}
<div class="imgFeat">
<img src="{{imgFeat}}" alt="">
</div>
{% endif %}
<section class="text {{url}}">
{{ content | safe}}
</section>
{% if gallery %}
<section class="imgs">
{% for img in gallery %}
<img src="{{img}}" alt="">
{% endfor %}
</section class="imgs">
{% endif %}
</section>
{% endblock %}
{% block footer %}{% endblock %}