summaryrefslogtreecommitdiff
path: root/src/files.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-02-24 15:06:21 +0100
committermetamuffin <metamuffin@disroot.org>2023-02-24 15:06:21 +0100
commit975f2325a0ee78f75e0ed2ab899d161868250e8d (patch)
treee5c410f4000db5234a041b74385c551416f0f654 /src/files.rs
parent08c6eca69ec1aaa85e474e1ed9cbb8856d55d16b (diff)
downloadgnix-975f2325a0ee78f75e0ed2ab899d161868250e8d.tar
gnix-975f2325a0ee78f75e0ed2ab899d161868250e8d.tar.bz2
gnix-975f2325a0ee78f75e0ed2ab899d161868250e8d.tar.zst
italic file type and hyperlink to source
Diffstat (limited to 'src/files.rs')
-rw-r--r--src/files.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/files.rs b/src/files.rs
index c30a2bd..888954e 100644
--- a/src/files.rs
+++ b/src/files.rs
@@ -189,7 +189,7 @@ markup::define! {
} }
td {
@if meta.file_type().is_dir() {
- "directory"
+ i { "directory" }
} else {
@humansize::format_size(meta.len(), FormatSizeOptions::default())
}
@@ -197,7 +197,7 @@ markup::define! {
} }
}
hr;
- footer { sub { "served by gnix" } }
+ footer { sub { "served by" a[href="https://codeberg.org/metamuffin/gnix"] { "gnix" } } }
}
}
}