From 75cc84ccd494c749aaa9e486b21e08ba14a46390 Mon Sep 17 00:00:00 2001 From: Stellar Rounin Date: Mon, 24 Aug 2026 20:14:19 -0600 Subject: Initial commit --- layouts/index.html | 21 ++++++++++++++++++++ layouts/partials/custom_head.html | 8 ++++++++ layouts/projects/list.html | 40 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+) create mode 100644 layouts/index.html create mode 100644 layouts/partials/custom_head.html create mode 100644 layouts/projects/list.html (limited to 'layouts') diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..6fda406 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,21 @@ +{{ define "main" }} + +{{ .Content }} + +
+

Recent posts

+ + {{ range first 5 (where site.RegularPages "Section" "blog").ByDate.Reverse }} + + {{ end }} +
+ + View all posts → +
+ +{{ end }} diff --git a/layouts/partials/custom_head.html b/layouts/partials/custom_head.html new file mode 100644 index 0000000..3fabb03 --- /dev/null +++ b/layouts/partials/custom_head.html @@ -0,0 +1,8 @@ +{{ $css := resources.Get "css/custom.css" }} + + + + + diff --git a/layouts/projects/list.html b/layouts/projects/list.html new file mode 100644 index 0000000..a7f5392 --- /dev/null +++ b/layouts/projects/list.html @@ -0,0 +1,40 @@ +{{ define "main" }} + +

{{ .Title }}

+ +{{ with .Content }} +{{ . }} +{{ end }} + +
+ {{ range .Pages.ByDate.Reverse }} + +
+

+ + {{ .Title }} + +

+ + {{ with .Params.description }} +

{{ . }}

+ {{ end }} + + {{ with .Params.tags }} +
+ {{ range . }} + {{ . }} + {{ end }} +
+ {{ end }} + + + Read more → + +
+
+ + {{ end }} +
+ +{{ end }} -- cgit v1.3