cabotia / cabotia.dev/ layouts/_default/single.html05917584f287b65f7d47cc8a6b0117b57dfdcc17
1.5 KB | 61 lines Raw
1
<!DOCTYPE html>
2
<html lang="{{ .Site.Language.Lang }}">
3
	<head>
4
		<meta charset="utf-8">
5
		<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
6
		<meta name="description" content="{{ .Summary | default .Params.summary }}">
7

8
		<title>{{ .Title }}</title>
9

10
		{{ $style := resources.Get "main.scss" | css.Sass | resources.Minify | resources.Fingerprint }}
11
		<link rel="stylesheet" href="{{ $style.RelPermalink }}">
12

13
		{{ range .AlternativeOutputFormats -}}
14
			{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
15
		{{ end -}}
16

17
		{{ template "_internal/opengraph.html" . }}
18
	</head>
19

20
	<body>
21
		<header>
22
			<div class="logo">
23
				<a href="{{ .Site.BaseURL | relLangURL }}">
24
					<img class="logo__type" src="/images/cabotia.png" alt="A stylezed cabotiá pumpkin, cabotiá logo">
25
				</a>
26
			</div>
27

28
			<nav>
29
				<a href="/">sobre</a>
30
				<a href="/work">trabalhos</a>
31
				<a href="/posts">blog</a>
32
				<a href="mailto:contact@cabotia.dev">contato</a>
33
			</nav>
34
		</header>
35
		<main>
36
			{{ block "main" . }}
37
				<h1> {{ .Title }}</h1>
38
				{{ .Content }}
39
			{{ end }}
40
		</main>
41
		<footer>
42
			<div>
43
				&copy; {{ time.Now.Year }} cabotiá
44
			</div>
45

46
			<div class="links">
47
				<a href="https://git.sr.ht/~porcellis/cabotia.dev">
48
					código-fonte
49
				</a>,
50

51
				<a href="https://git.sr.ht/~porcellis/cabotia.dev/tree/main/item/LICENSE">
52
					licença
53
				</a>
54
			</div>
55

56
			<div class="fine-line">
57
				{{ i18n "footer.fine_line" | safeHTML }}
58
			</div>
59
		</footer>
60
	</body>
61
</html>