public_notes/layouts/_default/single.html

35 lines
870 B
HTML
Raw Normal View History

2021-07-18 22:35:42 +09:00
<!DOCTYPE html>
2022-02-16 07:12:08 +09:00
<html lang="{{ .Lang }}">
2021-07-18 22:35:42 +09:00
{{ partial "head.html" . }}
<body>
2021-08-28 03:08:11 +09:00
{{partial "search.html" .}}
2021-07-18 22:35:42 +09:00
<div class="singlePage">
<!-- Begin actual content -->
2022-07-14 06:32:32 +09:00
{{partial "header.html" .}}
<article>
2021-12-24 07:32:47 +09:00
{{if .Title}}<h1>{{ .Title }}</h1>{{end}}
2021-12-28 07:28:53 +09:00
<p class="meta">
{{ i18n "last_updated" }} {{ partial "date-fmt.html" .}}
2022-07-06 07:39:29 +09:00
{{ partial "github.html" . }}
2021-12-28 07:28:53 +09:00
</p>
2021-12-28 09:35:42 +09:00
<ul class="tags">
{{ range (.GetTerms "tags") }}
2023-01-04 12:10:25 +09:00
<li><a href="{{ .Permalink }}">
{{if (eq $.Site.Language.Lang "en")}}
{{ .LinkTitle | humanize }}
{{else}}
{{ .LinkTitle }}
{{end}}
</a>
</li>
2021-12-28 09:35:42 +09:00
{{ end }}
</ul>
2022-05-04 00:47:42 +09:00
{{partial "toc.html" .}}
2022-04-03 12:06:31 +09:00
{{partial "textprocessing.html" . }}
2021-07-18 22:35:42 +09:00
</article>
{{partial "footer.html" .}}
</div>
</body>
</html>