vodoraslo.xyz/themes/lugo/layouts/_default/baseof.html

49 lines
2.2 KiB
HTML
Raw Normal View History

2022-12-17 07:30:26 +01:00
<!DOCTYPE html>
2023-07-12 21:46:08 +02:00
<html lang="{{ .Site.Language }}" class="main-background-image">
2022-12-17 07:30:26 +01:00
<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'>
2023-07-15 10:51:13 +02:00
<link rel='stylesheet' type='text/css' href='/style.css?v=1.0.0.5'>
2022-12-17 07:30:26 +01:00
{{ with .Site.Params.favicon }}<link rel="icon" href="{{ . }}">
{{ end -}}
<meta name="description" content="{{ if .Page.Params.description }}{{ .Page.Params.description }}{{ else if .Summary}}{{ .Summary }}{{else}}{{ .Site.Params.description}}{{ end }}"/>
2022-12-17 07:30:26 +01:00
{{ 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>
2023-07-12 21:46:08 +02:00
<div class="main-background-image">
2022-12-17 07:30:26 +01:00
<body>
{{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end -}}
<main>
2023-07-12 21:48:58 +02:00
<header><h1 style="margin-top: 0%; padding-top: 2%;" id="tag_{{ .Title }}">{{ block "title" . }}{{ end }}</h1></header>
{{ if not .IsHome}}<hr style="color:var(--strong)">{{end -}}
2023-07-12 21:46:08 +02:00
{{ if not .IsHome}}<article>{{end -}}<article style="padding-top: 0%;">
2023-05-18 17:28:55 +02:00
{{ if not .IsHome}}{{ partial "breadcrumbs.html" . }}{{end -}}
2022-12-17 07:30:26 +01:00
{{ block "main" . }}
2023-05-18 17:28:55 +02:00
{{ if .Params.toc }}<br>Table Of Contents:{{ .TableOfContents }}{{end -}}
{{- if .Content }}
<div class="post-content">
{{- if not (.Param "disableAnchoredHeadings") }}
{{- partial "anchored_headings.html" .Content -}}
{{- else }}{{ .Content }}{{ end }}
</div>
{{- end }}
2022-12-17 07:30:26 +01:00
{{ end }}
{{ if .Param "nextprev" }}{{ partial "nextprev.html" . -}}{{ end -}}
<div style="padding-top: 1.5em" class="index-links">
2023-04-15 08:18:42 +02:00
{{ if .Param "taglist" }}{{ partial "taglist.html" . }}{{ end -}}</div>
2022-12-17 07:30:26 +01:00
</article>
</main>
{{ block "footer" . }}
2023-04-15 08:18:42 +02:00
<footer class="rssSvg">
2023-05-15 20:42:40 +02:00
{{ if not .IsHome}}<div style="padding-bottom: 0.7em; padding-top: 1em;" class="index-links"><a href="{{ .Site.BaseURL }}">Homepage</a></div> {{end -}}
2023-04-15 18:30:38 +02:00
{{- if .Param "showrss" }} <div><a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a></div> {{ end }}
2022-12-17 07:30:26 +01:00
</footer>
{{ end }}
</body>
2023-07-12 21:46:08 +02:00
</div>
2022-12-17 07:30:26 +01:00
</html>