From 4aed6ea63ae93704b5d4cc07b528a0dd70a5d752 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 24 Mar 2024 14:41:32 -0500 Subject: initial commit; forked from https://github.com/Yukuro/hugo-theme-shell --- layouts/_default/baseof.html | 11 +++++++++++ layouts/_default/list.html | 0 layouts/_default/single.html | 8 ++++++++ 3 files changed, 19 insertions(+) create mode 100644 layouts/_default/baseof.html create mode 100644 layouts/_default/list.html create mode 100644 layouts/_default/single.html (limited to 'layouts/_default') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..2a153c4 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,11 @@ + + + {{- partial "head.html" . -}} + + {{- partial "header.html" . -}} +
+ {{- block "main" . }}{{- end }} +
+ {{- partial "footer.html" . -}} + + diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..58c1678 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,8 @@ +{{ define "main" }} + {{ $title := printf "

%s

" .Title}} + {{ $title := printf "%s" $title}} + {{ $content := printf "%s" .Content }} + + + {{ partial "partials/typeActivity.html" (dict "context" . "title" $title "content" $content "titledelay" $.Site.Params.Terminal.titleDelay "contentdelay" $.Site.Params.Terminal.contentDelay )}} +{{ end }} -- cgit v1.2.3