Commit

Author:

Committer:

Hash:

Timestamp:

+2 -2 +/-1 browse

André Jaenisch [andre.jaenisch@posteo.de]

Kevin Schoon [me@kevinschoon.com] Thu, 22 May 2025 09:02:50 +0000

f28ce68f16e338355e55372bc788e8ea5feda470

Thu, 22 May 2025 09:02:50 +0000 (5 months ago)

move meta elements below head one
move meta elements below head one

The HTML element only accepts head and body as children.
https://html.spec.whatwg.org/multipage/semantics.html#the-html-element

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
1diff --git a/ayllu/templates/base.html b/ayllu/templates/base.html
2index 6e23178..47e73da 100644
3--- a/ayllu/templates/base.html
4+++ b/ayllu/templates/base.html
5 @@ -1,13 +1,13 @@
6 <!DOCTYPE html>
7 <html lang="en">
8- <meta name="description" content="{{ base.description }}">
9- <meta name="keywords" content="{{ base.keywords }}">
10 <head>
11 <meta charset="utf-8">
12 <meta name="viewport" content="width=device-width, initial-scale=1">
13 <title>
14 {% block title %}{{ base.title }}{% endblock %}
15 </title>
16+ <meta name="description" content="{{ base.description }}">
17+ <meta name="keywords" content="{{ base.keywords }}">
18 <link rel="stylesheet" href="/static/main.min.css" />
19 <link href="/static/logo.svg" rel="icon" type="image/svg+xml" />
20 {% block head %}{% endblock %}