Skip to content

Commit

Permalink
fix invalid font-awesome icon names
Browse files Browse the repository at this point in the history
  • Loading branch information
syphar committed Sep 22, 2024
1 parent cc1f0a3 commit e0f2ed0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/crate/source.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%}

<span class="text">{{ file.name }}</span>
Expand Down

0 comments on commit e0f2ed0

Please sign in to comment.