diff options
author | xengineering <me@xengineering.eu> | 2022-12-25 12:31:27 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2022-12-25 12:31:27 +0100 |
commit | e02fc15feb03a674abcaf89441855088b5b23cae (patch) | |
tree | 27ed5253289ae1b9f8c7f01669d40282fd49049b | |
parent | a93d4eaeca985e649a4844becc8323b62612cc3c (diff) | |
download | website-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.html | 27 |
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> |