53 lines
2.9 KiB
HTML
53 lines
2.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{{ .Site.Language }}" class="main-background-image">
|
|
<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.7'>
|
|
{{ 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 }}"/>
|
|
{{ 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>
|
|
<div class="main-background-image">
|
|
<body>
|
|
{{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end -}}
|
|
<main>
|
|
<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 -}}
|
|
{{ if not .IsHome}}<article>{{end -}}<article style="padding-top: 0%;">
|
|
{{ if not .IsHome}}{{ partial "breadcrumbs.html" . }}{{end -}}
|
|
{{ block "main" . }}
|
|
{{ if not .IsHome}}<p style="color: var(--muted_text);">Last updated: {{ .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 }}</p>{{end -}}
|
|
{{ if .Params.toc }}Table Of Contents:{{ .TableOfContents }}{{end -}}
|
|
{{- if .Content }}
|
|
<div class="post-content">
|
|
|
|
{{- if not (.Param "disableAnchoredHeadings") }}
|
|
{{- partial "anchored_headings.html" .Content -}}
|
|
{{- else }}{{ .Content }}{{ end }}
|
|
{{ if not .IsHome}}<div style="text-align: right;">
|
|
<a href="mailto:chad@vodoraslo.xyz?subject=Re: {{ .Page.Title }}&body=Page in question - {{ .Page.Permalink }}">⏩📧 Reply via email!</a>
|
|
</div>{{end -}}
|
|
</div>
|
|
{{- end }}
|
|
{{ end }}
|
|
{{ if .Param "nextprev" }}{{ partial "nextprev.html" . -}}{{ end -}}
|
|
<div style="padding-top: 1.5em" class="index-links">
|
|
{{ if .Param "taglist" }}{{ partial "taglist.html" . }}{{ end -}}</div>
|
|
</article>
|
|
</main>
|
|
{{ block "footer" . }}
|
|
<footer class="rssSvg">
|
|
{{ if not .IsHome}}<div style="padding-bottom: 0.7em; padding-top: 1em;" 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 }}
|
|
</footer>
|
|
{{ end }}
|
|
</body>
|
|
</div>
|
|
</html>
|