2023-10-23 10:18:06

This commit is contained in:
z17CX 2023-10-23 10:18:06 +00:00
parent 5a03e23b3b
commit 3be6e10598
Signed by: z17cx
GPG key ID: 3F5F87C84EE943E4
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@ EXAMPLE:
</a>
</li>
<li class="list-inline-item" data-bs-tooltip data-bs-title='{{ (i18n "sc.file.link") }}'>
<a class="text-body" href="{{ ($file) }}" target="_blank" type="text/plain"
<a class="text-body" href="{{ ($file) }}" target="_blank"
role="button" aria-label='{{ (i18n "sc.file.link") }}'>
<i class="fas fa-arrow-up-right-from-square fa-fw"></i>
</a>

View file

@ -55,7 +55,7 @@ EXAMPLE:
{{ with ($file.download_url) }}
<li class="list-inline-item" data-bs-tooltip data-bs-title='{{ (i18n "sc.github.file.download") }}'>
<a class="text-body" href="{{ . }}"
target="_blank" type="text/plain" rel="noopener nofollow"
target="_blank" rel="noopener nofollow"
role="button" aria-label='{{ (i18n "sc.github.file.download") }}'>
<i class="fas fa-download fa-fw"></i>
</a>