Initial Build
This commit is contained in:
parent
71cd3acccd
commit
6c0d9a3f98
140 changed files with 9802 additions and 2403 deletions
25
templates/front/photos/index.html.twig
Normal file
25
templates/front/photos/index.html.twig
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}Photography | Alex Daniels{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h2>Photography</h2>
|
||||
<div class="photos">
|
||||
{% if app.user %}
|
||||
<div class="admin-actions">
|
||||
<a href="/brain/photos/new">Add New Album</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
<ul class="albums">
|
||||
{% for album in photos %}
|
||||
<li class="album">
|
||||
<a href="/photos/{{album['url']}}">
|
||||
<h3 class="title">{{album['title']}}</h3>
|
||||
<img src="{{asset(album['thumbnail'])}}" alt="{{ album['title'] ~ 'Thumbnail'}}">
|
||||
<p class="date">{{album['date']|date('l M d Y')}}</p>
|
||||
<div class="overlay"></div>
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock body %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue