baseof.html (2250B)
1 <!DOCTYPE html> 2 <html lang="{{ .Site.Language }}"> 3 <head> 4 <title>{{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }}</title> 5 <link rel="canonical" href="{{ .Site.BaseURL }}"> 6 <link rel='alternate' type='application/rss+xml' title="{{ .Site.Title }} RSS" href='/index.xml'> 7 <link rel='stylesheet' type='text/css' href='/style.css'> 8 {{ with .Site.Params.favicon }}<link rel="icon" href="{{ . }}"> 9 {{ end -}} 10 <meta name="description" content="{{ with .Params.description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}"> 11 {{ if isset .Params "tags" }}<meta name="keywords" content="{{ with .Params.tags }}{{ delimit . ", " }}{{ end }}"> 12 {{ end -}} 13 <meta name="viewport" content="width=device-width, initial-scale=1"> 14 <meta name="robots" content="index, follow"> 15 <meta charset="utf-8"> 16 </head> 17 <body> 18 {{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end -}} 19 <main> 20 <header><h1 id="tag_{{ .Title }}">{{ block "title" . }}{{ end }}</h1></header> 21 <article> 22 {{ block "main" . }} 23 {{ .Content }} 24 {{ end }} 25 {{ if .Param "nextprev" }}{{ partial "nextprev.html" . -}}{{ end -}} 26 27 {{ if eq .Site.Language.Lang "en" }} 28 {{ if .Param "taglist" }}{{ partial "taglist_en.html" . }}{{ end -}} 29 {{ end }} 30 {{ if eq .Site.Language.Lang "it" }} 31 {{ if .Param "taglist" }}{{ partial "taglist_it.html" . }}{{ end -}} 32 {{ end }} 33 </article> 34 </main> 35 <br> 36 <br> 37 <br> 38 {{ block "footer" . }} 39 <footer> 40 <p>My contacts:</p> 41 <a href = "mailto: lorenzo@lorenzocesana.xyz" class=inline>Email</a><a href = "/LorenzoCesana-public.gpg" class=inline>GPG Key</a><a href = "https://matrix.to/#/@lc:matrix.lorenzocesana.xyz" class=inline>Matrix</a> 42 <br> 43 <br> 44 {{ if eq .Site.Language.Lang "en" }} 45 <a href="{{ .Site.BaseURL }}">{{ .Site.BaseURL }}</a> 46 {{- 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 }} 47 {{ end }} 48 49 {{ if eq .Site.Language.Lang "it" }} 50 <a href="https://lorenzocesana.xyz/it">https://lorenzocesana.xyz/it</a> 51 {{- if .Param "showrss" }}<br><br><a href="/it/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>{{ end }} 52 {{ end }} 53 </footer> 54 {{ end }} 55 </body> 56 </html>