ForRo/templates/front/location.twig

27 lines
783 B
Twig
Raw Normal View History

{% extends "base/frame.twig" %}
{% block stylesheets %}
<link rel="stylesheet" type="text/css" href="/assets/css/front/start.css?=sdfsdf">
{% endblock %}
{% block main %}
<section role="location">
<h1>{{ options.location.name }}</h1>
<h2>Description</h2>
<p>{{ options.location.description }}</p>
<h3>Snaps</h3>
{% for image in options.location.images %}
<a target="_blank" href="/assets/images/examples/{{ image.path }}">
<img src="/assets/images/examples/{{ image.path }}"/>
</a>
{% endfor %}
<br/>
<strong>TAGS:</strong>
{{ options.location.tags }}
<br/>
{% if loggedIn %}
<a href="/den/locations/modify/edit/{{ options.location.uuid }}">EDIT
{{ options.location.name }}</a>
{% endif %}
</section>
{% endblock %}