aboutsummaryrefslogtreecommitdiff
path: root/backend/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'backend/templates/base.html')
-rw-r--r--backend/templates/base.html47
1 files changed, 27 insertions, 20 deletions
diff --git a/backend/templates/base.html b/backend/templates/base.html
index 5e6982b..86e2f58 100644
--- a/backend/templates/base.html
+++ b/backend/templates/base.html
@@ -1,11 +1,12 @@
<!doctype html>
<html lang="fr" prefix="og: https://ogp.me/ns/article#">
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{{ .Title }}</title>
- {{ $styles := asset "styles.css" }}<link rel="stylesheet" href="{{ $styles.Src }}" integrity="{{ $styles.Checksum }}">
- <link rel="shortcut icon" href="{{ static .Logo.Favicon }}">
+ {{ $styles := asset "styles.css" }}
+ <link rel="stylesheet" href="{{ $styles.Src }}" integrity="{{ $styles.Checksum }}" />
+ <link rel="shortcut icon" href="{{ static .Logo.Favicon }}" />
<meta property="description" content="{{ .PageDescription }}" />
<!-- Open Graph -->
<meta property="og:title" content="{{ .Title }}" />
@@ -15,7 +16,9 @@
<meta property="og:description" content="{{ .PageDescription }}" />
<meta property="og:local" content="fr_FR" />
<meta property="og:site_name" content="{{ .Name }}" />
- {{ if ne .PubDate "" }}<meta property="article:published_time" content="{{ .PubDate }}">{{ end }}
+ {{ if ne .PubDate "" }}
+ <meta property="article:published_time" content="{{ .PubDate }}" />
+ {{ end }}
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image" />
<meta property="twitter:domain" content="{{ .Domain }}" />
@@ -23,18 +26,22 @@
<meta name="twitter:title" content="{{ .Title }}" />
<meta name="twitter:description" content="{{ .PageDescription }}" />
<meta name="twitter:image" content="{{ fullStatic .Image }}" />
-</head>
-<body hx-push-url="true">
-<header>
- <img src="{{ static .Logo.Header }}" alt="Logo">
- <nav>{{ range .Links }}{{ .Render }}{{end}}</nav>
-</header>
-{{ template "body" . }}
-<footer>
- <p>&copy; 2025 - Anhgelus Morthuuzh</p>
- <p id="quote">«&thinsp;{{ .Quote }}&thinsp;»</p>
- <p><a href="/legal">Mentions légales</a>, <a href="https://git.anhgelus.world/anhgelus/small-web" target="_blank" rel="noreferrer">code source</a>.</p>
-</footer>
-{{ $script := asset "index.js" }}<script src="{{ $script.Src }}" integrity="{{ $script.Checksum }}" defer></script>
-</body>
+ </head>
+ <body hx-push-url="true">
+ <header>
+ <img src="{{ static .Logo.Header }}" alt="Logo" />
+ <nav>{{ range .Links }}{{ .Render }}{{end}}</nav>
+ </header>
+ {{ template "body" . }}
+ <footer>
+ <p>&copy; 2025 - Anhgelus Morthuuzh</p>
+ <p id="quote">«&thinsp;{{ .Quote }}&thinsp;»</p>
+ <p>
+ <a href="/legal">Mentions légales</a>,
+ <a href="https://git.anhgelus.world/anhgelus/small-web" target="_blank" rel="noreferrer">code source</a>.
+ </p>
+ </footer>
+ {{ $script := asset "index.js" }}
+ <script src="{{ $script.Src }}" integrity="{{ $script.Checksum }}" defer></script>
+ </body>
</html>