Clean up templates

pull/1/head
mat ess 2022-08-10 16:15:00 -04:00
parent c5ff9d3007
commit a106db4aef
2 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,7 @@
<footer>
<p>powered by <a href="https://getzola.org" target="_blank" rel="noopener noreferral">zola</a> + <a
href="https://github.com/not-matthias/apollo" target="_blank" rel="noopener noreferral">apollo</a> and
<a href="https://nixos.org" target="_blank" rel="noopener noreferral">nix</a>.
<p>powered by <a href="https://getzola.org" target="_blank" rel="noopener noreferral"><code>zola</code></a> + <a
href="https://github.com/not-matthias/apollo" target="_blank" rel="noopener noreferral"><code>apollo</code></a>
and
<a href="https://nixos.org" target="_blank" rel="noopener noreferral"><code>nix</code></a>.
</p>
</footer>

View File

@ -5,7 +5,8 @@
<nav>
{% for menu in config.extra.menu %}
{%- if menu.external %}
{%- set external = menu.external | default(value=false) -%}
{%- if external %}
<a href={{ menu.url }} target="_blank" rel="noopener noreferrer">{{ menu.name }}</a>
{%- else %}
<a href={{ menu.url }}>{{ menu.name }}</a>