summaryrefslogtreecommitdiff
path: root/themes/orca/layouts/_default
diff options
context:
space:
mode:
authorfrosty <passedgoadngot200@disroot.org>2025-08-28 10:48:45 -0400
committerfrosty <passedgoadngot200@disroot.org>2025-08-28 10:48:45 -0400
commitf89969d98637f244b9325f16c0b3b923fb65ef59 (patch)
treec6020d8d2fd7b54c8ba84330fc35b051ecac8151 /themes/orca/layouts/_default
parentd0deda9b496f582374f71bf25dd97b8410387a21 (diff)
downloadwww-master.tar.gz
www-master.zip
work on layout and write basic nginx pageHEADmaster
Diffstat (limited to 'themes/orca/layouts/_default')
-rw-r--r--themes/orca/layouts/_default/baseof.html1
-rw-r--r--themes/orca/layouts/_default/single.html16
-rw-r--r--themes/orca/layouts/_default/whatnot.html (renamed from themes/orca/layouts/_default/blog.html)0
3 files changed, 16 insertions, 1 deletions
diff --git a/themes/orca/layouts/_default/baseof.html b/themes/orca/layouts/_default/baseof.html
index 034b6a1..227f431 100644
--- a/themes/orca/layouts/_default/baseof.html
+++ b/themes/orca/layouts/_default/baseof.html
@@ -14,6 +14,7 @@
{{ block "main" . }}
{{ .Content }}
{{ end }}
+ {{ partial "footer.html" . }}
</main>
</body>
</html>
diff --git a/themes/orca/layouts/_default/single.html b/themes/orca/layouts/_default/single.html
index a59ecb7..66ded2e 100644
--- a/themes/orca/layouts/_default/single.html
+++ b/themes/orca/layouts/_default/single.html
@@ -1,6 +1,20 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
- {{ .Content }}
+{{ with .Params.res }}
+<div class="res">
+ <div>Resources</div>
+ <ul>
+ {{ range . }}
+ {{ range $k, $v := . }}
+ <li><a href="{{ $v }}">{{ $k }}</a></li>
+ {{ end }}
+ {{ end }}
+ </ul>
+</div>
+{{ end }}
+{{ .Summary }}
+{{ .TableOfContents }}
+{{ (replace .Content .Summary "") | safeHTML }}
{{ with .Lastmod }}
<p>Last modified {{ .Format "January 2nd, 2006" }}.</p>
{{ end }}
diff --git a/themes/orca/layouts/_default/blog.html b/themes/orca/layouts/_default/whatnot.html
index 0f73423..0f73423 100644
--- a/themes/orca/layouts/_default/blog.html
+++ b/themes/orca/layouts/_default/whatnot.html