summaryrefslogtreecommitdiff
path: root/themes/bare/layouts/git
diff options
context:
space:
mode:
Diffstat (limited to 'themes/bare/layouts/git')
-rw-r--r--themes/bare/layouts/git/list.html32
-rw-r--r--themes/bare/layouts/git/single.html30
2 files changed, 30 insertions, 32 deletions
diff --git a/themes/bare/layouts/git/list.html b/themes/bare/layouts/git/list.html
index f4cd50e..b8dc147 100644
--- a/themes/bare/layouts/git/list.html
+++ b/themes/bare/layouts/git/list.html
@@ -12,40 +12,36 @@
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="stylesheet" href="{{ "libweb.css" | absURL }}" type="text/css">
+ <link rel="stylesheet" href="{{ "style.css" | absURL }}" type="text/css">
</head>
<body>
- <main>
-
- <h2>Git repositories</h2>
- <p>This page shows all of my Git repositories. They are ordered by
- their state attribute, which is defined in each section.</p>
+ <header>
+ <h1>Git repositories</h1>
+ </header>
- <h4>Active</h4>
- <p>The content of active repositories can be used right now.</p>
+ <main>
+ <strong>Experimental</strong>
<ul>
{{- range.Pages }}
- {{ if eq .Params.state "active" }}
+ {{ if eq .Params.state "experimental" }}
<li><a href="{{ .RelPermalink }}">{{ .Params.friendly_name }}</a> - {{.Description}}</li>
{{ end }}
{{ end -}}
</ul>
- <h4>Experimental</h4>
- <p>Experimental repositories are not ready to be used but maybe interesting enough to have a look at it.</p>
+ <strong>Active</strong>
<ul>
{{- range.Pages }}
- {{ if eq .Params.state "experimental" }}
+ {{ if eq .Params.state "active" }}
<li><a href="{{ .RelPermalink }}">{{ .Params.friendly_name }}</a> - {{.Description}}</li>
{{ end }}
{{ end -}}
</ul>
- <h4>Archived</h4>
- <p>Archived repositories will not be improved in the future unless the state will change.</p>
+ <strong>Archived</strong>
<ul>
{{- range.Pages }}
{{ if eq .Params.state "archived" }}
@@ -54,10 +50,10 @@
{{ end -}}
</ul>
- <br>
- <hr>
- <footer>License: <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA</a></footer>
-
+ <footer>
+ <hr>
+ <p>This <a href="{{ "git/website" | absURL }}">website</a> is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA</a> and developed with <a href="https://simplecss.org/">simple.css</a>.</p>
+ </footer>
</main>
</body>
diff --git a/themes/bare/layouts/git/single.html b/themes/bare/layouts/git/single.html
index 3732715..092df5a 100644
--- a/themes/bare/layouts/git/single.html
+++ b/themes/bare/layouts/git/single.html
@@ -12,30 +12,32 @@
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="stylesheet" href="{{ "libweb.css" | absURL }}" type="text/css">
+ <link rel="stylesheet" href="{{ "style.css" | absURL }}" type="text/css">
</head>
<body>
- <main>
-
+ <header>
+ <nav>
+ <a href="https://cgit.xengineering.eu/{{ .Params.name }}">cgit</a>
+ <a href="https://cgit.xengineering.eu/{{ .Params.name }}/atom">Atom feed</a>
+ <a href="https://cgit.xengineering.eu/{{ .Params.name }}">Clone URL</a>
+ <nav>
<h1>{{.Params.friendly_name}}</h1>
+ <p>{{ .Params.description }}</p>
+ </header>
- <div class="card">
- <p class="card-first-item">{{ .Params.description }}</p>
- <p>State: {{ .Params.state }}</p>
- <p>Source code: <a href="https://cgit.xengineering.eu/{{ .Params.name }}">cgit</a></p>
- <p>Get updates: <a href="https://cgit.xengineering.eu/{{ .Params.name }}/atom">Atom feed</a></p>
- <p style="" class="card-last-item">Clone repository: git clone https://cgit.xengineering.eu/{{ .Params.name }}</p>
- </div>
+ <main>
- {{.Content}}
+ <p class="notice">State: <strong>{{ .Params.state }}</strong></p>
- <br>
- <hr>
- <footer>License: <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA</a></footer>
+ {{.Content}}
+ <footer>
+ <hr>
+ <p>This <a href="{{ "git/website" | absURL }}">website</a> is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA</a> and developed with <a href="https://simplecss.org/">simple.css</a>.</p>
+ </footer>
</main>
</body>