ForRo/templates/front/location.twig
Ro 245531faf6 Added support of fedifence CSV and pagination
Populated the DB with entries from a fedifence export provided by
@Oliphant (https://codeberg.org/oliphant/blocklists).

As such also updated the appropriate templates with pagination to be
able to peruse through the location directory.

Also added an edit link on the location template front end to make
finding and updating instance info easy.
2023-01-23 19:59:51 -08:00

27 lines
783 B
Twig

{% 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 %}