From 199f5ca505ca7392b3e770e83c5150a9f897d6d0 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Tue, 27 Dec 2022 00:48:42 -0700 Subject: somewhat functional website now --- layouts/_default/single.html | 6 ++++++ layouts/blog/single.html | 6 ++++++ layouts/index.html | 10 ++++++++++ layouts/partials/foot.html | 12 ++++++++++++ layouts/partials/head.html | 33 +++++++++++++++++++++++++++++++++ layouts/partials/sidebar.html | 37 +++++++++++++++++++++++++++++++++++++ layouts/projects/list.html | 21 +++++++++++++++++++++ layouts/projects/single.html | 8 ++++++++ 8 files changed, 133 insertions(+) create mode 100644 layouts/_default/single.html create mode 100644 layouts/blog/single.html create mode 100644 layouts/index.html create mode 100644 layouts/partials/foot.html create mode 100644 layouts/partials/head.html create mode 100644 layouts/partials/sidebar.html create mode 100644 layouts/projects/list.html create mode 100644 layouts/projects/single.html (limited to 'layouts') diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..6e5937b --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,6 @@ +{{ partial "head.html" . }} +

{{$.Title}}

+

+
+{{.Content}} +{{ partial "foot.html" . }} diff --git a/layouts/blog/single.html b/layouts/blog/single.html new file mode 100644 index 0000000..807e2bb --- /dev/null +++ b/layouts/blog/single.html @@ -0,0 +1,6 @@ +{{ partial "head.html" . }} +

{{$.Title}}

+

Posted by Bryson Steck on {{.Date.Format "January 2, 2006"}}

+
+{{.Content}} +{{ partial "foot.html" . }} diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..4559344 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,10 @@ +{{ partial "head.html" . }} +{{ range (where (where .Site.RegularPages "Section" "blog") "Params.nohtml" "!=" "true") }} +{{- if .OutputFormats.Get "html" }} +
+{{.Title}} +
{{.Date.Format "January 2, 2006"}}
+
+{{ end }} +{{ end }} +{{ partial "foot.html" . }} diff --git a/layouts/partials/foot.html b/layouts/partials/foot.html new file mode 100644 index 0000000..ebcd07e --- /dev/null +++ b/layouts/partials/foot.html @@ -0,0 +1,12 @@ + + + + + + + diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..b55534a --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,33 @@ + + + + + + + + + {{ $.Title }} - Bryson Steck + + + +
+
+
+ diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html new file mode 100644 index 0000000..606efc4 --- /dev/null +++ b/layouts/partials/sidebar.html @@ -0,0 +1,37 @@ +
+ +


Bryson Steck

+ + + + + + + + + + + + + +


© Bryson Steck 2021-2022

+

Free and open source software under the AGPL v3.0 License.

+
diff --git a/layouts/projects/list.html b/layouts/projects/list.html new file mode 100644 index 0000000..19c6f48 --- /dev/null +++ b/layouts/projects/list.html @@ -0,0 +1,21 @@ +{{ partial "head.html" . }} +

My Projects

+
+

Currently Maintained

+{{ range .Pages }} +{{ if .Params.current }} + +{{ end }} +{{ end }} +
+

Old/Unmaintained

+{{ range .Pages }} +{{ if not .Params.current }} + +{{ end }} +{{ end }} +{{ partial "foot.html" . }} diff --git a/layouts/projects/single.html b/layouts/projects/single.html new file mode 100644 index 0000000..eea6972 --- /dev/null +++ b/layouts/projects/single.html @@ -0,0 +1,8 @@ +{{ partial "head.html" . }} +

{{$.Title}}

+

Posted by Bryson Steck on {{.Date.Format "January 2, 2006"}}

+
+
+{{.Content}} +
+{{ partial "foot.html" . }} -- cgit v1.2.3