Clean up templates
parent
c5ff9d3007
commit
a106db4aef
|
@ -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>
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue