Skip to content

Commit

Permalink
更新 tl_file.liquid
Browse files Browse the repository at this point in the history
  • Loading branch information
AnXing233 committed Aug 26, 2023
1 parent da99cda commit f8564ba
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions _includes/tl_file.liquid
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{%- assign filename = include.name | default: include.file.name -%}

{%- if include.file.url -%}
<a
class="a-link"
href="{{ include.file.url | uri_escape }}"
target="_blank">
<a href="{{ include.file.url | uri_escape }}" target="_blank">
{{ filename }}
</a>
{%- else -%}
Expand Down

0 comments on commit f8564ba

Please sign in to comment.