diff options
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/footer.html | 3 | ||||
-rwxr-xr-x | _includes/head.html | 5 | ||||
-rw-r--r-- | _includes/users.html | 20 |
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> |