<footer id="site-footer">
	{% if config.extra.footer.show_copyright %}
		<p title="Last built at {{ now() | date(format='%F %a %R') }}">
			&copy; {{ config.title }}, {{ now() | date(format="%Y") }}
		</p>
	{% endif %}

	{% if config.extra.source_url and config.extra.footer.show_source %}
		<p>
			<a href="{{ config.extra.source_url }}">
				{{ trans(key='footer_source', lang=lang) }}
			</a>
		</p>
	{% endif %}

	{% if config.extra.footer.show_powered_by %}
		<p>
			<small>
				{{ trans(key="footer_powered_by", lang=lang) }} <a href="https://www.getzola.org">Zola</a> {{ trans(key="footer_powered_by_and", lang=lang) }} <a href="https://daudix.codeberg.page/duckquill">Duckquill</a>
			</small>
		</p>
	{% endif %}

	{% if config.extra.footer.socials %}
		<ul id="socials">
			{% for link in config.extra.footer.socials %}
				<li>
					<a href="{{ link.url | safe }}" rel="me" title="{{ link.name }}">
						<i class="icon" style='mask-image: url("data:image/svg+xml,{{ link.icon }}"); -webkit-mask-image: url("data:image/svg+xml,{{ link.icon }}")'></i>
						<span>{{ link.name }}</span>
					</a>
				</li>
			{% endfor %}
		</ul>
	{% endif %}
</footer>
