diff options
author | Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | 2021-03-29 09:11:58 +0000 |
---|---|---|
committer | Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | 2021-03-29 09:11:58 +0000 |
commit | 57ec279491db97d2933f07127235d44e918472ce (patch) | |
tree | fe35f3f8b00ae747dabf91b061d1dd781d878393 /src/renderer.rs | |
parent | Bring back the symlink symbol (diff) | |
download | miniserve-57ec279491db97d2933f07127235d44e918472ce.tar.gz miniserve-57ec279491db97d2933f07127235d44e918472ce.zip |
Move symlink symbol from html to css
This should facilitate testing because this symbol will no longer a part
of the entry text shown in html.
Diffstat (limited to '')
-rw-r--r-- | src/renderer.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/renderer.rs b/src/renderer.rs index 266f035..c51f364 100644 --- a/src/renderer.rs +++ b/src/renderer.rs @@ -330,7 +330,7 @@ fn entry_row( a.directory href=(parametrized_link(&entry.link, sort_method, sort_order)) { (entry.name) "/" @if entry.is_symlink { - span.symlink-symbol { "⇢" } + span.symlink-symbol { } } } } @else if entry.is_file() { @@ -338,7 +338,7 @@ fn entry_row( a.file href=(&entry.link) { (entry.name) @if entry.is_symlink { - span.symlink-symbol { "⇢" } + span.symlink-symbol { } } } @if let Some(size) = entry.size { |