lorenzocesana.xyz

Source code of my website, built with HUGO
Log | Files | Refs

baseof.html.old (2251B)


      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 
     31 {{ if eq .Site.Language.Lang "it" }}
     32 	{{ if .Param "taglist" }}{{ partial "taglist_it.html" . }}{{ end -}}
     33 {{ end }}
     34 </article>
     35 </main>
     36 <br>
     37 <br>
     38 <br>
     39 {{ block "footer" . }}
     40 <footer>
     41 	<p>My contacts:</p>
     42 	<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>
     43 	<br>
     44 	<br>
     45 	{{ if eq .Site.Language.Lang "en" }}
     46 	<a href="{{ .Site.BaseURL }}">{{ .Site.BaseURL }}</a>
     47 	{{- 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 }}
     48 	{{ end }}
     49 	
     50 	{{ if eq .Site.Language.Lang "it" }}
     51 	<a href="https://lorenzocesana.xyz/it">https://lorenzocesana.xyz/it</a>
     52 	{{- 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 }}
     53 	{{ end }}
     54 </footer>
     55 {{ end }}
     56 </body>
     57 </html>