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

64 lines
4.7 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'>
<link rel='stylesheet' type='text/css' href='/style.css?v=1.0.0.12'>
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-21 17:57:40 +02:00
<header><h1 style="margin-top: 0%; padding-top: 0.5em;" id="tag_{{ .Title }}">{{ block "title" . }}{{ end }}</h1></header>
2023-11-04 13:03:07 +01:00
{{ if not .IsHome}}<hr style="color:var(--strong);background-color: var(--strong); border-color: var(--strong);">{{end -}}
2023-07-21 17:57:40 +02:00
<article style="padding: 0% 2.5% 0% 2.5%;">
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-07-20 20:49:09 +02:00
{{/* How to print Japanese weekdays in Hugo frontmatter. https://gist.github.com/ishikawa/7f06898826b66176150626f780f90d67 */}}
{{ if not .IsHome}}<p style="color: var(--muted_text);">Last updated: <time datetime="{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" }}" style="color: var(--muted_text);">{{ .Lastmod.Format "2006" }}年{{ $t := .Lastmod }}{{ $t.Format "1月2日"}}{{ if eq ($t.Weekday) 0 }} (日){{ end }}{{ if eq ($t.Weekday) 1 }} (月){{ end }}{{ if eq ($t.Weekday) 2 }} (火){{ end }}{{ if eq ($t.Weekday) 3 }} (水){{ end }}{{ if eq ($t.Weekday) 4 }} (木){{ end }}{{ if eq ($t.Weekday) 5 }} (金){{ end }}{{ if eq ($t.Weekday) 6 }} (土){{ end }}</time> {{/*{{- if .Param "showrss" }} <a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em; float:right;" alt="RSS Feed" title="Subscribe via RSS for updates."></a> {{ end }} */}} </p>{{end -}}
{{ if .Params.toc }}<details><summary><strong>Table Of Contents:</strong></summary>{{ .TableOfContents }}</details>{{end -}}
{{- if .Content }}
<div class="post-content">
2023-07-20 20:40:29 +02:00
{{- if not (.Param "disableAnchoredHeadings") }}
{{- partial "anchored_headings.html" .Content -}}
{{- else }}{{ .Content }}{{ end }}
{{ if not .IsHome}}<div style="text-align: right;">
{{/* <!-- <br><a href="mailto:chad@vodoraslo.xyz?subject=Re: {{ .Page.Title }}&body=Page in question - {{ .Page.Permalink }}"><i>📬 Reply via email!</i></a><br> -->*/}}
</div>{{end -}}
</div>
{{- end }}
2022-12-17 07:30:26 +01:00
{{ end }}
<br>
<hr style="color:var(--strong); margin: 0; background-color: var(--strong); border-color: var(--strong);">
2022-12-17 07:30:26 +01:00
{{ if .Param "nextprev" }}{{ partial "nextprev.html" . -}}{{ end -}}
2023-10-08 09:57:26 +02:00
<div >{{ if .Param "taglist" }}{{ partial "taglist.html" . }}{{ end -}}</div>
2022-12-17 07:30:26 +01:00
</article>
</main>
{{ block "footer" . }}
2023-10-08 09:57:26 +02:00
<footer style="padding-top: 0.5em;">
{{/*
2023-10-08 09:57:26 +02:00
<!-- {{ if not .IsHome}}<div style="padding-bottom: 0.7em;" class="index-links"><a href="{{ .Site.BaseURL }}">Homepage</a></div> {{end -}} -->
<!-- {{- 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 }} -->
2023-10-13 19:52:35 +02:00
<!-- <div style="padding-bottom: 0.2em; display: inline-block;"><a href="{{ .Site.BaseURL }}articles">📜 Articles</a> <strong>&bull;</strong> <a href="{{ .Site.BaseURL }}library">📚 Library</a> <strong>&bull;</strong> <a href="https://wiki.vodoraslo.xyz">🌐 Wiki</a> <strong>&bull;</strong> <a href="{{ .Site.BaseURL }}contact">📬 Contact</a> <strong>&bull;</strong> <a href="{{ .Site.BaseURL }}index.xml">📰 RSS</a><hr></div> -->
*/}}
<div style="padding-bottom: 0.2em; display: inline-block;"><a href="{{ .Site.BaseURL }}articles" title="List of all my articles and writings.">📜 Articles</a> <strong>&bull;</strong> <a href="{{ .Site.BaseURL }}library" title="My personal library.">📚 Library</a> <strong>&bull;</strong> <a href="https://wiki.vodoraslo.xyz" title="My personal Wiki page.">🌐 Wiki</a> <strong>&bull;</strong> <a href="{{ .Site.BaseURL }}index.xml" title="Subscribe via RSS for updates.">📰 RSS</a><hr></div>
2023-10-13 19:52:35 +02:00
{{/*<!-- {{ if not .IsHome}}<div style="padding-bottom: 0.7em;" class="index-links"><a href="{{ .Site.BaseURL }}">🏠 Homepage</a></div> {{end -}} -->*/}}
<div style="padding-bottom: 0.7em;" class="index-links"><a href="{{ .Site.BaseURL }}" title="Return to the homepage.">🏠 Homepage</a></div>
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>