work.suroh.tk/_includes/page.njk

25 lines
514 B
Plaintext
Raw Normal View History

2019-12-02 12:22:45 +00:00
{% extends "base.njk" %}
{% block content %}
<section class="page">
{% if imgFeat %}
<div class="imgFeat">
<img src="{{imgFeat}}" alt="">
</div>
{% endif %}
2019-12-07 21:49:59 +00:00
<section class="text {{url}}">
2019-12-02 12:22:45 +00:00
{{ content | safe}}
</section>
2019-12-02 12:22:45 +00:00
{% if gallery %}
<section class="imgs">
{% for img in gallery %}
<img src="{{img}}" alt="">
{% endfor %}
</section class="imgs">
{% endif %}
</section>
2019-12-02 12:22:45 +00:00
{% endblock %}
{% block footer %}{% endblock %}