moved project into new repo

This commit is contained in:
2026-06-22 16:50:45 +00:00
commit 59cf49c026
101 changed files with 3557 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
<pre class="abc">
{{ .Inner | htmlEscape | safeHTML }}
</pre>
{{ .Page.Store.Set "hasAbc" true }}

View File

@@ -0,0 +1,4 @@
<pre class="mermaid">
{{ .Inner | htmlEscape | safeHTML }}
</pre>
{{ .Page.Store.Set "hasMermaid" true }}

View File

@@ -0,0 +1,4 @@
<pre class="jtab">
{{ .Inner | htmlEscape | safeHTML }}
</pre>
{{ .Page.Store.Set "hasTab" true }}

View File

@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="{{ or site.Language.LanguageCode }}" dir="{{ or site.Language.LanguageDirection `ltr` }}">
<head>
{{ partial "head.html" . }}
</head>
{{ partial "audio_autoplay.html" . }}
<body>
<header>
{{ partial "header.html" . }}
</header>
<div>
<div class="black-hole wrap">
<div id="black-hole"></div>
</div>
</div>
<main>
{{ block "expo" . }}{{ end }}
{{ block "main" . }}{{ end }}
</main>
<footer>
{{ partial "footer.html" . }}
</footer>
{{ if .Param "math" }}
{{ partialCached "math.html" . }}
{{ end }}
{{ if .Store.Get "hasMermaid" }}
{{ partialCached "diagram.html" . }}
{{ end }}
{{ if .Store.Get "hasAbc" }}
{{ partialCached "music-notation.html" . }}
{{ end }}
{{ if .Store.Get "hasTab" }}
{{ partialCached "tablature-notation.html" . }}
{{ end }}
</body>
</html>

View File

@@ -0,0 +1,7 @@
{{ define "main" }}
<div id="{{ lower .Title }}" class="page">
<div id="content" class="page">
{{ .Content }}
</div>
</div>
{{ end }}

View File

@@ -0,0 +1,17 @@
{{ define "main" }}
{{ with .Content }}
<div id="content" class="page">
{{ . }}
</div>
{{ end }}
<div id="posts" class="directory">
{{ range .Paginator.Pages }}
<a href="{{ .RelPermalink }}">
<article class="post">
<h2>{{ .LinkTitle }}</h2>
<p>{{ .Summary }}</p>
</article>
</a>
{{ end }}{{ template "_internal/pagination.html" . }}
</div>
{{ end }}

View File

@@ -0,0 +1,37 @@
{{ define "main" }}
<article id="post">
<h1>{{ .Title }}</h1>
<section id="frontmatter">
{{ if ne .PublishDate nil }}
{{ $dateMachine := .PublishDate | time.Format "2006-01-02T15:04:05-07:00" }}
{{ $dateHuman := .PublishDate | time.Format "2 Jan 2006" }}
<time datetime="{{ $dateMachine }}">Published {{ $dateHuman }}</time>
{{ else }}
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
{{ $dateHuman := .Date | time.Format "2 Jan 2006" }}
<time datetime="{{ $dateMachine }}">Created {{ $dateHuman }}</time>
{{ end }}
{{ with .Params.author }}
<p>Written by {{ . }}</p>
{{ end }}
{{ if ne .Params.editor .Params.author }}
<p>Edited by {{ .Params.editor }}</p>
{{ end }}
{{ with .Params.translator }}
<p>Translated by {{ . }}</p>
{{ end }}
</section>
<section id="content">
{{ .Content }}
</section>
<!-- {{ range .Params.updates }}
<details>
<summary>{{ .mod }}</summary>
{{ with .comment }}
<p>{{ . }}</p>
{{ end }}
</details>
{{ end }} -->
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
</article>
{{ end }}