summaryrefslogtreecommitdiff
path: root/themes/bare/layouts/git/single.html
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-01-10 19:10:39 +0100
committerxengineering <me@xengineering.eu>2023-01-10 20:45:33 +0100
commit46f3101a99d7d26dbc9592720d386a37b56f6579 (patch)
tree99243a6a0d37ad2e85e492a9601b45c7330cda60 /themes/bare/layouts/git/single.html
parent6d7005efc73272c7cf1f124b013904f6ef5cc599 (diff)
downloadwebsite-46f3101a99d7d26dbc9592720d386a37b56f6579.tar
website-46f3101a99d7d26dbc9592720d386a37b56f6579.tar.zst
website-46f3101a99d7d26dbc9592720d386a37b56f6579.zip
Switch to simple.css
The simple.css projects shares the same values as my own CSS project (libweb). But at the end: I do not have to maintain it and it more advanced.
Diffstat (limited to 'themes/bare/layouts/git/single.html')
-rw-r--r--themes/bare/layouts/git/single.html30
1 files changed, 16 insertions, 14 deletions
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>