extroonie.com/layouts/_default/baseof.html

62 lines
2.7 KiB
HTML
Raw Permalink Normal View History

2025-08-02 22:31:38 +06:00
<!doctype html>
2025-08-05 00:24:10 +06:00
<html lang="{{ .Site.LanguageCode }}" itemscope itemtype="http://schema.org/WebSite">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="darkreader-lock" content="true" />
{{ block "title" . }}
<title>
{{ if .IsHome }}{{ .Site.Title }}{{ else if .Title }}{{ .Title }} | {{ .Site.Title }}{{ else }}{{
.Site.Title }}{{ end }}
</title>
{{ end }}
<meta name="description" content="{{ .Description | default .Site.Params.description }}" />
<meta name="author" content="{{ .Site.Params.author }}" />
<meta name="generator" content="Hugo {{ hugo.Version }}" />
<meta property="og:title" content="{{ if .IsHome }}{{ .Site.Params.author }}{{ else }}{{ .Title }}{{ end }}" />
<meta property="og:description" content="{{ .Description | default .Site.Params.description }}" />
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}" />
<meta property="og:url" content="{{ .Permalink }}" />
{{ with .Site.Params.images }}
<meta property="og:image" content="{{ $.Site.BaseURL }}{{ index . 0 }}" />
{{ end }}
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@{{ .Site.Params.social.twitter }}" />
<meta name="twitter:creator" content="@{{ .Site.Params.social.twitter }}" />
{{ with .Site.Params.images }}
<meta name="twitter:image" content="{{ $.Site.BaseURL }}{{ index . 0 }}" />
{{ end }}
<link rel="canonical" href="{{ .Permalink }}" />
<link rel="preconnect" href="https://github.githubassets.com" />
<link rel="stylesheet" href="https://github.githubassets.com/assets/primitives-363ec1831693.css" />
<link rel="stylesheet" href="https://github.githubassets.com/assets/github-b64b0b078eab.css" />
{{ $style := resources.Get "css/style.css" | resources.Minify | resources.Fingerprint }}
2025-08-11 04:38:11 +06:00
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}" />
2025-08-05 00:24:10 +06:00
2025-08-11 04:38:11 +06:00
{{ $js := resources.Get "js/discord-tooltip.js" | resources.Minify | resources.Fingerprint }}
<script src="{{ $js.RelPermalink }}" integrity="{{ $js.Data.Integrity }}" defer></script>
<link rel="icon" href="images/Pale_Blue_Dot.png" />
<link rel="apple-touch-icon" href="images/Pale_Blue_Dot.png" />
2025-08-05 00:24:10 +06:00
{{ with .OutputFormats.Get "rss" -}} {{ printf `
<link rel="%s" type="%s" href="%s" title="%s" />
` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} {{ partial "structured-data.html" . }}
{{ block "head" . }}{{ end }}
</head>
<body>
{{ block "header" . }}{{ end }}
<main id="main" role="main">{{ block "main" . }}{{ end }}</main>
{{ block "footer" . }}{{ end }}
</body>
2025-08-02 22:31:38 +06:00
</html>