summaryrefslogtreecommitdiff
path: root/themes/bare/layouts/git/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/bare/layouts/git/single.html')
-rw-r--r--themes/bare/layouts/git/single.html43
1 files changed, 43 insertions, 0 deletions
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 @@
+<!DOCTYPE html>
+
+<!--
+ vim: shiftwidth=4 tabstop=4 noexpandtab
+-->
+
+<html>
+
+ <head>
+
+ <title>{{.Params.name}}</title>
+
+ <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">
+
+ </head>
+
+ <body>
+
+ <main>
+
+ <h1>{{.Params.name}}</h1>
+
+ <div class="card">
+ <p class="card-first-item">{{ .Params.description }}</p>
+ <p>State: {{ .Params.state }}</p>
+ <p>Browse source code: <a href="https://cgit.xengineering.eu/{{ .Params.name }}/tree">cgit tree</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>
+
+ {{.Content}}
+
+ <br>
+ <hr>
+ <footer>License: <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA</a></footer>
+
+ </main>
+
+ </body>
+
+</html>