Добавлена страница с альбомами

This commit is contained in:
2019-01-02 16:21:52 +03:00
parent f9ceb23b65
commit 28215491ca
11 changed files with 116 additions and 5 deletions

17
source/albums.html.twig Normal file
View File

@ -0,0 +1,17 @@
---
layout: internal
title: Фотоальбомы
description: Фотоальбомы
use: [albums]
---
{% block content %}
<h1>{{ title }}</h1>
<ul>
{% for album in data.albums %}
<li><a href="{{ album.url }}">{{ album.title }}</a></li>
{% endfor %}
</ul>
{% endblock %}