2021-05-08 14:09:02 +02:00
|
|
|
<?php
|
2021-06-29 08:51:17 +02:00
|
|
|
// publish as a table the content
|
2021-05-08 14:09:02 +02:00
|
|
|
$summary = $showSummary ? $site->summary() : null;
|
2021-06-29 08:51:17 +02:00
|
|
|
//
|
2021-05-08 14:09:02 +02:00
|
|
|
?>
|
2021-05-24 18:13:23 +02:00
|
|
|
|
2021-06-29 08:51:17 +02:00
|
|
|
<li class="accordion-item" data-accordion-item>
|
|
|
|
<a href="#" class="accordion-title">
|
|
|
|
<ul class="">
|
|
|
|
<li class="title">
|
|
|
|
<?= $site->title() ?>
|
|
|
|
</li>
|
|
|
|
<li class="curator">
|
|
|
|
<?php if ($site_meta_values != null): ?>
|
|
|
|
<?= $site_meta_values['currator']; ?><br />
|
|
|
|
<?php endif; ?>
|
|
|
|
</li>
|
|
|
|
<li class="collection-name">
|
|
|
|
<?php if ($site_meta_values != null): ?>
|
|
|
|
<?= $archive_collections[$site_meta_values['collection']]; ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
</li>
|
|
|
|
<li class="date">
|
|
|
|
<?php if ($site_meta_values != null): ?>
|
2022-04-28 18:54:54 +02:00
|
|
|
<?= $site_meta_values['project_date']; ?>
|
2021-06-29 08:51:17 +02:00
|
|
|
<?php endif; ?>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</a>
|
2021-07-06 12:25:02 +02:00
|
|
|
<aside class="accordion-content" data-tab-content>
|
2021-07-27 14:17:52 +02:00
|
|
|
<section>
|
2021-06-29 08:51:17 +02:00
|
|
|
<figure>
|
2021-05-08 14:09:02 +02:00
|
|
|
<?php if ($site_meta_values != null): ?>
|
2021-05-31 15:50:08 +02:00
|
|
|
<img src="<?= $site_meta_values['thumbnail']; ?>" />
|
2021-05-08 14:09:02 +02:00
|
|
|
<?php endif; ?>
|
2021-06-29 08:51:17 +02:00
|
|
|
</figure>
|
|
|
|
<p>
|
2021-05-08 14:09:02 +02:00
|
|
|
<?php if ($summary): ?>
|
2021-06-29 08:51:17 +02:00
|
|
|
<?php echo nl2br($this->escapeHtml($summary)); ?>
|
2021-05-08 14:09:02 +02:00
|
|
|
<?php endif; ?>
|
2021-06-29 08:51:17 +02:00
|
|
|
<a class="button small" href="<?= $site->siteUrl() ?>">View</a>
|
|
|
|
</p>
|
2021-07-27 14:17:52 +02:00
|
|
|
</section>
|
2021-07-06 12:25:02 +02:00
|
|
|
</aside>
|
2021-06-29 08:51:17 +02:00
|
|
|
</li>
|