You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
1.1 KiB
23 lines
1.1 KiB
<div {{ attributes }}> |
|
<section class="d-flex gap-3 center ln-section--newsstand mb-3"> |
|
<div class="container mt-5"> |
|
<h1><a href="{{ path('magazine-index', {mag: mag}) }}">{{ magazine.title|default(magazine.slug|default(mag)) }}</a></h1> |
|
{% if magazine.summary is defined and magazine.summary %} |
|
<p class="eyebrow">{{ magazine.summary }}</p> |
|
{% endif %} |
|
<div>by <twig:Molecules:UserFromNpub :ident="magazine.pubkey" /></div> |
|
</div> |
|
<div class="container mb-5"> |
|
{# Use computed property via this.categoryTags #} |
|
{% if this.categoryTags is not empty %} |
|
<ul class="list-unstyled d-flex flex-row flex-wrap gap-3 justify-content-center mt-3"> |
|
{% for catTag in this.categoryTags %} |
|
<li class="list-inline-item"><twig:Molecules:CategoryLink :coordinate="catTag" :mag="mag" /></li> |
|
{% endfor %} |
|
</ul> |
|
{% else %} |
|
<p class="text-muted mt-4">No categories yet.</p> |
|
{% endif %} |
|
</div> |
|
</section> |
|
</div>
|
|
|