aboutsummaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-01-18 10:44:33 -0500
committerBradley Taunt <bt@btxx.org>2024-01-18 10:44:33 -0500
commit686a5b1e94a35cd1e293483638ece0d648c4563f (patch)
tree592e59dda5e3de12faf1532da826be556350fadd /_includes
Initial commit to new cgit platform
Diffstat (limited to '_includes')
-rw-r--r--_includes/footer.html3
-rwxr-xr-x_includes/head.html5
-rw-r--r--_includes/users.html20
3 files changed, 28 insertions, 0 deletions
diff --git a/_includes/footer.html b/_includes/footer.html
new file mode 100644
index 0000000..d141e27
--- /dev/null
+++ b/_includes/footer.html
@@ -0,0 +1,3 @@
+<footer>
+ <p><small>Maintained with love for a performant web
+</footer>
diff --git a/_includes/head.html b/_includes/head.html
new file mode 100755
index 0000000..a0bd356
--- /dev/null
+++ b/_includes/head.html
@@ -0,0 +1,5 @@
+<head>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <link rel="icon" href="data:,">
+ <title>1kB</title>
+</head>
diff --git a/_includes/users.html b/_includes/users.html
new file mode 100644
index 0000000..95468e8
--- /dev/null
+++ b/_includes/users.html
@@ -0,0 +1,20 @@
+<p>Users (<a href="/u">Add User</a>)
+<table>
+ <thead>
+ <tr>
+ <td>URL</td>
+ <td>Size in bytes</td>
+ </tr>
+ </thead>
+ <tbody>
+ {% for item in users %}
+ {% if item.size == 0 %}
+ {% else %}
+ <tr>
+ <td><a href="/u/{{ item.pageurl }}">~{{ item.pageurl }}</a></td>
+ <td><code>{{ item.size }}</code></td>
+ </tr>
+ {% endif %}
+ {% endfor %}
+ </tbody>
+</table>