tugo/layouts/_default/baseof.html

37 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="{{ .Site.Language }}">
<head>
<title>{{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }}</title>
<link rel="canonical" href="{{ .Site.BaseURL }}">
<link rel='alternate' type='application/rss+xml' title="{{ .Site.Title }} RSS" href='/index.xml'>
<link rel='stylesheet' type='text/css' href='/style.css'>
{{ with .Site.Params.favicon }}<link rel="icon" href="{{ . }}">{{ end }}
<meta name="description" content="based website | made in portugal">
{{ if isset .Params "tags" }}<meta name="keywords" content="{{ with .Params.tags }}{{ delimit . ", " }}{{ end }}">{{ end }}
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="index, follow">
<meta charset="utf-8">
</head>
<body>
<main>
<header><h1 id="tag_{{ .Site.Title }}">{{ .Site.Title }}</h1></header>
{{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end }}
<article>
<hr class="rounded">
<h1 id="tag_{{ .Title }} " class="pagetitle">{{ .Title }}</h1>
{{ block "main" . }}
{{ .Content }}
{{ end }}
{{ if .Param "taglist" }}{{ partial "taglist.html" . }}{{ end }}
<hr class="rounded">
{{ if .Param "nextprev" }}{{ partial "nextprev.html" . }}{{ end }}
</article>
</main>
{{ block "footer" . }}
<footer>
<a href="https://donate.based.pt">donate</a>
</footer>
{{ end }}
</body>
</html>