marc-leopold/server/plugins/graker/photoalbums/components/randomphotos/default.htm

13 lines
362 B
HTML
Raw Normal View History

2019-02-25 14:56:59 +00:00
<div class="random-photos">
{% for photo in __SELF__.photos() %}
<div class="photo">
<a href="{{ photo.url }}"><img src="{{ photo.thumb }}" /></a>
{% if photo.title %}
<a href="{{ photo.url }}">{{ photo.title }}</a>
{% endif %}
</div>
{% else %}
You have not created any photos
{% endfor %}
</div>