diff options
Diffstat (limited to 'layouts/git/single.html')
-rw-r--r-- | layouts/git/single.html | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/layouts/git/single.html b/layouts/git/single.html new file mode 100644 index 0000000..51ccbad --- /dev/null +++ b/layouts/git/single.html @@ -0,0 +1,46 @@ +<!DOCTYPE html> + +<!-- + vim: shiftwidth=4 tabstop=4 noexpandtab +--> + +<html> + + <head> + + <title>{{.Params.friendly_name}}</title> + + <meta charset="utf-8"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <link rel="stylesheet" href="{{ "style.css" | absURL }}" type="text/css"> + + </head> + + <body> + + <header> + <nav> + <a href="{{ "/" | absURL }}">Home</a> + <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> + + <main> + + <p class="notice">State: <strong>{{ .Params.state }}</strong></p> + + {{.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> + +</html> |