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

View File

@ -5,7 +5,8 @@
<nav> <nav>
{% for menu in config.extra.menu %} {% 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> <a href={{ menu.url }} target="_blank" rel="noopener noreferrer">{{ menu.name }}</a>
{%- else %} {%- else %}
<a href={{ menu.url }}>{{ menu.name }}</a> <a href={{ menu.url }}>{{ menu.name }}</a>