blob: 62ac5f06a0fba64a952563484c415319c2254221 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{{ template "base.html" . }}
{{ define "title" }}{{ .Page.Title }}{{ end }}
{{ define "description" }}{{ .Page.Summary }}{{ end }}
{{ define "content" }}
<article>
<hgroup>
<h1>{{ .Page.Title }}</h1>
<p><cap>{{ .Page.Type }}</cap>, {{ .Page.Created.Format "Jan 2, 2006" }}, on <a href="{{ .Config.BaseURL }}">{{ .Config.Title }}'s blog</a></p>
</hgroup>
<div>{{ .Page.HTML }}</div>
</article>
<div>
<br><hr>
<p><big><strong>Other notes</strong></big></p>
<ul itemscope itemtype="https://schema.org/SiteNavigationElement" role="list" aria-label="Other notes">
<meta itemprop="name" content="Other notes">
{{ range .Pages | filterbytype "note" | random 15 }}
{{ if not .Draft }}
<li>
{{ if .Meta.tags }}
<div class="tags">
{{ range .Meta.tags }}<mark>{{ . }}</mark>{{ end }}
</div>
{{ end }}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</li>
{{ end }}
{{ end }}
</ul>
</div>
{{ if .Page.Meta.mathjax }}
<script src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js" async></script>
{{ end }}
{{ end }}
|