From e0f2ed0781af1611d324d17b512c8732d98b4d74 Mon Sep 17 00:00:00 2001 From: Denis Cornehl Date: Sun, 22 Sep 2024 08:57:32 +0200 Subject: [PATCH] fix invalid font-awesome icon names --- templates/crate/source.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/crate/source.html b/templates/crate/source.html index 14da8d1c3..1dc2a62d5 100644 --- a/templates/crate/source.html +++ b/templates/crate/source.html @@ -86,11 +86,11 @@ {# Text files or files which mime starts with `text` #} {%- elif file.mime == "text/plain" || file.mime|split_first("/") == Some("text") -%} - {{ "file-alt"|far(false, false, "") }} + {{ "file-lines"|far(false, false, "") }} {# Binary files and any unrecognized types #} {% else -%} - {{ "file-archive"|far(false, false, "") }} + {{ "file"|far(false, false, "") }} {%- endif -%} {{ file.name }}