blob: 8ed680269dda38553a709d5bbeac9c4ae512f6f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
<!doctype html>
<html lang="{{ .Language }}" prefix="og: https://ogp.me/ns/article#">
<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 }}" />
<link rel="alternate" href="/rss" type="application/rss+xml" title="RSS" />
<meta name="description" content="{{ .PageDescription }}" />
<!-- Open Graph -->
<meta name="og:title" content="{{ .Title }}" />
<meta name="og:type" content="website" />
<meta name="og:url" content="https://{{ .Domain }}{{ .URL }}" />
<meta name="og:image" content="{{ fullStatic .Image }}" />
<meta name="og:description" content="{{ .PageDescription }}" />
<meta name="og:local" content="fr_FR" />
<meta name="og:site_name" content="{{ .Name }}" />
{{ if ne .PubDate "" }}
<meta name="article:published_time" content="{{ .PubDate }}" />
{{ end }}
</head>
<body>
<header>
<img src="{{ static .Logo.Header }}" alt="Logo" />
{{ $url := .URL }}
<nav>
<ul>
{{ range .Links }}<li>{{ .Render $url }}</li>{{ end }}
</ul>
</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>
</body>
</html>
|