From d0deda9b496f582374f71bf25dd97b8410387a21 Mon Sep 17 00:00:00 2001 From: frosty Date: Fri, 22 Aug 2025 08:54:40 -0400 Subject: initial commit --- .../orca/layouts/_default/_markup/render-heading.html | 6 ++++++ themes/orca/layouts/_default/baseof.html | 19 +++++++++++++++++++ themes/orca/layouts/_default/blog.html | 8 ++++++++ themes/orca/layouts/_default/home.html | 3 +++ themes/orca/layouts/_default/music.html | 7 +++++++ themes/orca/layouts/_default/single.html | 7 +++++++ 6 files changed, 50 insertions(+) create mode 100644 themes/orca/layouts/_default/_markup/render-heading.html create mode 100644 themes/orca/layouts/_default/baseof.html create mode 100644 themes/orca/layouts/_default/blog.html create mode 100644 themes/orca/layouts/_default/home.html create mode 100644 themes/orca/layouts/_default/music.html create mode 100644 themes/orca/layouts/_default/single.html (limited to 'themes/orca/layouts/_default') 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 @@ + +{{ .Text | safeHTML }} +{{ if le .Level 3 }} + # +{{ end }} + 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 @@ + + + + + + {{ if not .IsHome }}{{ .Title | title }} - {{ end }}{{ .Site.Title }} + {{ $stylesheet := resources.Get "style.css" | minify | fingerprint }} + + + + + {{ partial "header.html" . }} +
+{{ block "main" . }} + {{ .Content }} +{{ end }} +
+ + 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" }} +

{{ .Title }}

+ {{ .TableOfContents }} + {{ .Content }} + {{ with .Lastmod }} +

Last modified {{ .Format "January 2nd, 2006" }}.

+ {{ 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" }} +

{{ .Title }}

+ {{ .Content }} + {{ with .Lastmod }} +

Last modified {{ .Format "January 2nd, 2006" }}.

+ {{ 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" }} +

{{ .Title }}

+ {{ .Content }} + {{ with .Lastmod }} +

Last modified {{ .Format "January 2nd, 2006" }}.

+ {{ end }} +{{ end }} -- cgit v1.2.3