45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
---
|
|
layout: default
|
|
---
|
|
|
|
{% include "place-json-ld" %}
|
|
|
|
<h1>{{ name | escape }}</h1>
|
|
|
|
<div class="content">
|
|
{% include "place-meta.html" %}
|
|
{{ content }}
|
|
|
|
<p>
|
|
<small>
|
|
<strong>Last Updated:</strong> {{ last_modified_at | date: "%-d %B %Y" }}
|
|
</small>
|
|
</p>
|
|
|
|
|
|
<div class="place-images">
|
|
{% assign place_images = collections.place_images | reverse %}
|
|
{% for image in place_images %}
|
|
{% capture absolute_url %}/{{image}}{% endcapture %}
|
|
{% assign folder_size = absolute_url.size | minus: 6 %}
|
|
{% capture absolute_folder %}{{ absolute_url | slice: 0, folder_size }}{% endcapture %}
|
|
{% if absolute_folder == page.url %}
|
|
<a
|
|
href="{{absolute_url}}"
|
|
title="{{ title }}"
|
|
>
|
|
<img src="{{ absolute_url }}" alt="{{ title }}">
|
|
</a>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
|
|
<p>
|
|
<small class="place-tags">
|
|
Tags:
|
|
{% capture sorted_tags %}{{ tags | sort | join: ", " }}{% endcapture %}
|
|
{{ sorted_tags | remove: ", places" | remove: "places, " | remove: "places" }}
|
|
</small>
|
|
</p>
|
|
</div>
|