From 6f633970a4bdb5fbf44168047adfa3e89aba350b Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 17 Jul 2022 14:18:07 +0200 Subject: Add state parameter to Git repositories Three states are supported: - experimental - active - archived --- themes/bare/layouts/git/list.html | 66 +++++++++++++++++++++++++++++++++++++ themes/bare/layouts/git/single.html | 43 ++++++++++++++++++++++++ 2 files changed, 109 insertions(+) create mode 100644 themes/bare/layouts/git/list.html create mode 100644 themes/bare/layouts/git/single.html (limited to 'themes/bare/layouts/git') diff --git a/themes/bare/layouts/git/list.html b/themes/bare/layouts/git/list.html new file mode 100644 index 0000000..be97eb3 --- /dev/null +++ b/themes/bare/layouts/git/list.html @@ -0,0 +1,66 @@ + + + + + + + + + xengineering + + + + + + + + + +
+ +

Git repositories

+

This page shows all of my Git repositories. They are ordered by + their state attribute, which is defined in each section.

+ +

Active repositories

+

The content of active repositories can be used right now.

+ + +

Experimental repositories

+

Experimental repositories are not ready to be used but maybe interesting enough to have a look at it.

+ + +

Archived repositories

+

Archived repositories will not be improved in the future unless the state will change.

+ + +
+
+ + +
+ + + + + diff --git a/themes/bare/layouts/git/single.html b/themes/bare/layouts/git/single.html new file mode 100644 index 0000000..82aa0d2 --- /dev/null +++ b/themes/bare/layouts/git/single.html @@ -0,0 +1,43 @@ + + + + + + + + + {{.Params.name}} + + + + + + + + + +
+ +

{{.Params.name}}

+ +
+

{{ .Params.description }}

+

State: {{ .Params.state }}

+

Browse source code: cgit tree

+

Get updates: Atom feed

+

Clone repository: git clone https://cgit.xengineering.eu/{{ .Params.name }}

+
+ + {{.Content}} + +
+
+ + +
+ + + + -- cgit v1.2.3-70-g09d2