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