lugo/layouts/_default/baseof.html

38 lines
1.5 KiB
HTML
Raw Normal View History

2022-04-14 20:07:48 +00:00
<!DOCTYPE html>
<html lang="{{ .Site.Language }}">
2022-06-28 23:06:38 +00:00
<head>
2022-06-23 23:59:13 +00:00
<title>{{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }}</title>
<link rel="canonical" href="{{ .Site.BaseURL }}">
2022-06-28 23:06:38 +00:00
<link rel='alternate' type='application/rss+xml' title="{{ .Site.Title }} RSS" href='/index.xml'>
2022-07-11 13:16:48 +00:00
<link rel='stylesheet' type='text/css' href='/style.css'>
2022-06-28 23:06:38 +00:00
{{ with .Site.Params.favicon }}<link rel="icon" href="{{ . }}">
{{ end -}}
2022-06-23 23:59:13 +00:00
<meta name="description" content="{{ with .Params.description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}">
2022-07-11 13:15:28 +00:00
{{ if isset .Params "tags" }}<meta name="keywords" content="{{ with .Params.tags }}{{ delimit . ", " }}{{ end }}">
{{ end -}}
2022-06-28 23:06:38 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="index, follow">
<meta charset="utf-8">
</head>
2022-04-14 20:07:48 +00:00
<body>
2022-09-20 21:10:53 +00:00
{{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end -}}
2022-06-28 23:06:38 +00:00
<main>
2022-09-20 21:10:53 +00:00
<header><h1 id="tag_{{ .Title }}">{{ block "title" . }}{{ end }}</h1></header>
<article>
{{ block "main" . }}
{{ .Content }}
{{ end }}
2022-11-29 21:08:50 +00:00
{{ if not .IsHome }} <br><hr><br> {{end -}}
2022-09-20 21:10:53 +00:00
{{ if .Param "nextprev" }}{{ partial "nextprev.html" . -}}{{ end -}}
{{ if .Param "taglist" }}{{ partial "taglist.html" . }}{{ end -}}
</article>
</main>
{{ block "footer" . }}
<footer>
<a href="{{ .Site.BaseURL }}">{{ .Site.BaseURL }}</a>
{{- if .Param "showrss" }}<br><br><a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>{{ end }}
</footer>
{{ end }}
</body>
</html>