summaryrefslogtreecommitdiff
path: root/layouts/projects/list.html
diff options
context:
space:
mode:
authorStellar Rounin <stellar.rounin+services@gmail.com>2026-08-24 20:14:19 -0600
committerStellar Rounin <stellar.rounin+services@gmail.com>2026-08-24 20:14:19 -0600
commit75cc84ccd494c749aaa9e486b21e08ba14a46390 (patch)
treede0ce35f448829c4ef8441cb8460215d97eac1ad /layouts/projects/list.html
downloadsite-75cc84ccd494c749aaa9e486b21e08ba14a46390.tar.xz
site-75cc84ccd494c749aaa9e486b21e08ba14a46390.zip
Initial commit
Diffstat (limited to 'layouts/projects/list.html')
-rw-r--r--layouts/projects/list.html40
1 files changed, 40 insertions, 0 deletions
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" }}
+
+<h1>{{ .Title }}</h1>
+
+{{ with .Content }}
+{{ . }}
+{{ end }}
+
+<div class="projects">
+ {{ range .Pages.ByDate.Reverse }}
+
+ <article class="project">
+ <h2>
+ <a href="{{ .RelPermalink }}">
+ {{ .Title }}
+ </a>
+ </h2>
+
+ {{ with .Params.description }}
+ <p>{{ . }}</p>
+ {{ end }}
+
+ {{ with .Params.tags }}
+ <div class="tags">
+ {{ range . }}
+ <span>{{ . }}</span>
+ {{ end }}
+ </div>
+ {{ end }}
+
+ <a href="{{ .RelPermalink }}">
+ Read more →
+ </a>
+ </article>
+ <hr />
+
+ {{ end }}
+</div>
+
+{{ end }}