diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-06 19:22:14 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-06 19:22:14 +0200 |
| commit | 9cfcbabb032c729b06d581412a64a9e7cefed6b1 (patch) | |
| tree | e5ff64ed658ef1af98d53191a252c0d0c7e1c7f5 /backend/templates/base.html | |
| parent | 412a77b7c1ba1819f4bf1c0697ddd19d7af21e19 (diff) | |
style(format): install prettier and run
Diffstat (limited to 'backend/templates/base.html')
| -rw-r--r-- | backend/templates/base.html | 47 |
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>© 2025 - Anhgelus Morthuuzh</p> - <p id="quote">« {{ .Quote }} »</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>© 2025 - Anhgelus Morthuuzh</p> + <p id="quote">« {{ .Quote }} »</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> |
