diff options
author | frosty <passedgoandgot200@disroot.org> | 2025-08-22 08:54:40 -0400 |
---|---|---|
committer | frosty <passedgoandgot200@disroot.org> | 2025-08-22 08:54:40 -0400 |
commit | d0deda9b496f582374f71bf25dd97b8410387a21 (patch) | |
tree | 881986978be30b30635e543218c1cecbc74ac21f /themes/orca/layouts/_default | |
download | www-d0deda9b496f582374f71bf25dd97b8410387a21.tar.gz www-d0deda9b496f582374f71bf25dd97b8410387a21.zip |
initial commit
Diffstat (limited to 'themes/orca/layouts/_default')
-rw-r--r-- | themes/orca/layouts/_default/_markup/render-heading.html | 6 | ||||
-rw-r--r-- | themes/orca/layouts/_default/baseof.html | 19 | ||||
-rw-r--r-- | themes/orca/layouts/_default/blog.html | 8 | ||||
-rw-r--r-- | themes/orca/layouts/_default/home.html | 3 | ||||
-rw-r--r-- | themes/orca/layouts/_default/music.html | 7 | ||||
-rw-r--r-- | themes/orca/layouts/_default/single.html | 7 |
6 files changed, 50 insertions, 0 deletions
diff --git a/themes/orca/layouts/_default/_markup/render-heading.html b/themes/orca/layouts/_default/_markup/render-heading.html new file mode 100644 index 0000000..d8a820e --- /dev/null +++ b/themes/orca/layouts/_default/_markup/render-heading.html @@ -0,0 +1,6 @@ +<h{{ .Level }} {{ if le .Level 3 }} id="{{ .Anchor | safeURL }}" {{ end }}> +{{ .Text | safeHTML }} +{{ if le .Level 3 }} + <a href="#{{ .Anchor | safeURL }}">#</a> +{{ end }} +</h{{ .Level }}> diff --git a/themes/orca/layouts/_default/baseof.html b/themes/orca/layouts/_default/baseof.html new file mode 100644 index 0000000..034b6a1 --- /dev/null +++ b/themes/orca/layouts/_default/baseof.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html lang="{{ .Site.Language }}"> +<head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>{{ if not .IsHome }}{{ .Title | title }} - {{ end }}{{ .Site.Title }}</title> + {{ $stylesheet := resources.Get "style.css" | minify | fingerprint }} + <link rel="stylesheet" type="text/css" href="{{ $stylesheet.Permalink }}"> + <link rel="icon" href="/favicon.ico"> +</head> +<body> + {{ partial "header.html" . }} + <main> +{{ block "main" . }} + {{ .Content }} +{{ end }} + </main> +</body> +</html> diff --git a/themes/orca/layouts/_default/blog.html b/themes/orca/layouts/_default/blog.html new file mode 100644 index 0000000..0f73423 --- /dev/null +++ b/themes/orca/layouts/_default/blog.html @@ -0,0 +1,8 @@ +{{ define "main" }} +<h1>{{ .Title }}</h1> + {{ .TableOfContents }} + {{ .Content }} + {{ with .Lastmod }} +<p>Last modified {{ .Format "January 2nd, 2006" }}.</p> + {{ end }} +{{ end }} diff --git a/themes/orca/layouts/_default/home.html b/themes/orca/layouts/_default/home.html new file mode 100644 index 0000000..e0e8308 --- /dev/null +++ b/themes/orca/layouts/_default/home.html @@ -0,0 +1,3 @@ +{{ define "main" }} + {{ .Content }} +{{ end }} diff --git a/themes/orca/layouts/_default/music.html b/themes/orca/layouts/_default/music.html new file mode 100644 index 0000000..a59ecb7 --- /dev/null +++ b/themes/orca/layouts/_default/music.html @@ -0,0 +1,7 @@ +{{ define "main" }} +<h1>{{ .Title }}</h1> + {{ .Content }} + {{ with .Lastmod }} +<p>Last modified {{ .Format "January 2nd, 2006" }}.</p> + {{ end }} +{{ end }} diff --git a/themes/orca/layouts/_default/single.html b/themes/orca/layouts/_default/single.html new file mode 100644 index 0000000..a59ecb7 --- /dev/null +++ b/themes/orca/layouts/_default/single.html @@ -0,0 +1,7 @@ +{{ define "main" }} +<h1>{{ .Title }}</h1> + {{ .Content }} + {{ with .Lastmod }} +<p>Last modified {{ .Format "January 2nd, 2006" }}.</p> + {{ end }} +{{ end }} |