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.
 
 
 
 
 
 

67 lines
4.0 KiB

<div
class="site-footer"
{% if website_theme_stylesheet_dark|default('')|trim != '' %}
data-controller="color-scheme"
{% endif %}
>
<div class="site-footer__syndication">
<h2 class="site-footer__syndication-title">Sitemap and feeds</h2>
<p class="site-footer__syndication-hint">For search engines and feed readers. Atom is supported by most clients.</p>
<nav class="site-footer__nav" aria-label="Sitemap, feeds, and index">
<ul class="site-footer__syndication-list">
<li><a class="site-footer__link" href="{{ path('featured_authors') }}">Featured authors</a></li>
<li><a class="site-footer__link" href="{{ path('sitemap') }}">Sitemap (XML)</a></li>
<li><a class="site-footer__link" href="{{ path('robots_txt') }}">Robots</a></li>
<li class="site-footer__syndication-list__feeds">
<span class="site-footer__feeds-icon" title="RSS/Atom" aria-hidden="true">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 8" width="16" height="16" focusable="false" fill="currentColor">
<circle cx="1.5" cy="6.5" r="1"/>
<path d="M0 3.5A4.5 4.5 0 0 1 4.5 8V6A2.5 2.5 0 0 0 2 3.5H0z"/>
<path d="M0 0A8 8 0 0 1 8 8H6.5A6.5 6.5 0 0 0 0 1.5V0z"/>
</svg>
</span>
<a class="site-footer__link" href="{{ path('feed_magazine') }}">All articles</a>
{% for c in categoriesForFeed %}
<a class="site-footer__link" href="{{ path('feed_category', {slug: c.slug}) }}">{{ c.title }}</a>
{% endfor %}
</li>
</ul>
</nav>
</div>
<div class="site-footer__main">
<p class="site-footer__jumble">
<a class="site-footer__link" href="{{ magazine_on_jumble_url()|e('html_attr') }}" target="_blank" rel="nofollow noopener noreferrer">View this magazine on Jumble Imwald</a>
</p>
<div class="footer-links">
{% for link in footer_links %}
<div class="footer-link">
<a href="{{ link.url }}" target="_blank" rel="noopener noreferrer" title="{{ link.description|default(link.title) }}">{{ link.title }}</a>
{% if link.description %}
&mdash; <small>{{ link.description }}</small>
{% endif %}
</div>
{% endfor %}
</div>
{% if website_theme_stylesheet_dark|default('')|trim != '' %}
<div class="site-footer__color-scheme">
<button
type="button"
class="color-scheme-toggle"
data-action="click->color-scheme#toggle"
aria-label="Switch to dark mode"
title="Dark mode"
>
<span data-color-scheme-target="moon" aria-hidden="true">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/></svg>
</span>
<span data-color-scheme-target="sun" hidden aria-hidden="true">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41"/></svg>
</span>
</button>
</div>
{% endif %}
<p class="site-footer__legal">
{{ "now"|date("Y") }} {{ website_name }} <span class="publisher">by <twig:Molecules:UserFromNpub :ident="publisher_npub" /></span>
</p>
</div>
</div>