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

View File

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

View File

@ -1,14 +1,14 @@
<header> <header>
<div class="main brand"> <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> </div>
<nav> <nav>
{% for menu in config.extra.menu %} {% for menu in config.extra.menu %}
{%- if menu.external %} {%- 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 %} {%- else %}
<a href={{ menu.url }} style="margin-left: 0.7em">{{ menu.name }}</a> <a href={{ menu.url }}>{{ menu.name }}</a>
{%- endif -%} {%- endif -%}
{% endfor %} {% endfor %}
</nav> </nav>