summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-12-25 12:31:27 +0100
committerxengineering <me@xengineering.eu>2022-12-25 12:31:27 +0100
commite02fc15feb03a674abcaf89441855088b5b23cae (patch)
tree27ed5253289ae1b9f8c7f01669d40282fd49049b
parenta93d4eaeca985e649a4844becc8323b62612cc3c (diff)
downloadwebsite-e02fc15feb03a674abcaf89441855088b5b23cae.tar
website-e02fc15feb03a674abcaf89441855088b5b23cae.tar.zst
website-e02fc15feb03a674abcaf89441855088b5b23cae.zip
Move all projects to index.html
There used to be just active projects and a link to a complete list. This is not worth a click by the user. Thus everything is moved to index.html.
-rw-r--r--themes/bare/layouts/index.html27
1 files changed, 25 insertions, 2 deletions
diff --git a/themes/bare/layouts/index.html b/themes/bare/layouts/index.html
index 741001e..adc500d 100644
--- a/themes/bare/layouts/index.html
+++ b/themes/bare/layouts/index.html
@@ -31,8 +31,22 @@
{{.Content}}
- <h2>Active Git repositories</h2>
+ <h2>My projects</h2>
+ <p>Here is a list of all my published projects. The active ones are
+ regularly used by myself.</p>
+ <h4>Experimental</h4>
+ <ul>
+ {{ range.Site.RegularPages }}
+ {{ if eq .Section "git" }}
+ {{ if eq .Params.state "experimental" }}
+ <li><a href="{{.Permalink}}">{{.Params.friendly_name}}</a> - {{.Description}}</li>
+ {{ end }}
+ {{ end }}
+ {{ end }}
+ </ul>
+
+ <h4>Active</h4>
<ul>
{{ range.Site.RegularPages }}
{{ if eq .Section "git" }}
@@ -43,7 +57,16 @@
{{ end }}
</ul>
- <p>To also see the archived and experimental repositories have a look at the <a href="/git">list of all Git repositories</a>.</p>
+ <h4>Archived</h4>
+ <ul>
+ {{ range.Site.RegularPages }}
+ {{ if eq .Section "git" }}
+ {{ if eq .Params.state "archived" }}
+ <li><a href="{{.Permalink}}">{{.Params.friendly_name}}</a> - {{.Description}}</li>
+ {{ end }}
+ {{ end }}
+ {{ end }}
+ </ul>
<br>
<hr>