Fix some validations

pull/1/head
mat ess 2022-08-09 00:37:39 -04:00
parent 2dfaa6a19d
commit f6747a1516
3 changed files with 9 additions and 5 deletions

View File

@ -1,5 +1,4 @@
// Logo
div.brand>* {
padding: 0 0.25em;
}
@ -15,6 +14,11 @@ img.logo {
padding-right: 0.25em;
}
// Nav links
nav a {
margin-left: 0.7em;
}
// Footer
.content {
display: flex;

View File

@ -1,7 +1,7 @@
{% import "macros/macros.html" as post_macros %}
<!DOCTYPE html>
<html>
<html lang="en">
{% include "partials/header.html" %}
<body>

View File

@ -1,14 +1,14 @@
<header>
<div class="main brand">
<a href={{ config.base_url }}><img class=logo src="/favicon.svg" />{{ config.title }}</a>
<a href={{ config.base_url }}><img class=logo src="/favicon.svg" alt=logo />{{ config.title }}</a>
</div>
<nav>
{% for menu in config.extra.menu %}
{%- if menu.external %}
<a href={{ menu.url }} style="margin-left: 0.7em" target="_blank" rel="noopener noreferrer">{{ menu.name }}</a>
<a href={{ menu.url }} target="_blank" rel="noopener noreferrer">{{ menu.name }}</a>
{%- else %}
<a href={{ menu.url }} style="margin-left: 0.7em">{{ menu.name }}</a>
<a href={{ menu.url }}>{{ menu.name }}</a>
{%- endif -%}
{% endfor %}
</nav>