We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc1f0a3 commit e0f2ed0Copy full SHA for e0f2ed0
templates/crate/source.html
@@ -86,11 +86,11 @@
86
87
{# Text files or files which mime starts with `text` #}
88
{%- elif file.mime == "text/plain" || file.mime|split_first("/") == Some("text") -%}
89
- {{ "file-alt"|far(false, false, "") }}
+ {{ "file-lines"|far(false, false, "") }}
90
91
{# Binary files and any unrecognized types #}
92
{% else -%}
93
- {{ "file-archive"|far(false, false, "") }}
+ {{ "file"|far(false, false, "") }}
94
{%- endif -%}
95
96
<span class="text">{{ file.name }}</span>
0 commit comments