diff options
-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> |