1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2025-01-06 21:49:40 +02:00

Font image preview fixes

This commit is contained in:
Ryan L McIntyre 2020-02-08 20:05:50 -08:00
parent f044957572
commit 2339660a97
2 changed files with 2 additions and 2 deletions

View File

@ -318,7 +318,7 @@
{
"unpatchedName": "Terminus",
"patchedName": "Terminess",
"imagePreviewFont": "TerminessTTF Nerd Font",
"imagePreviewFont": "Terminess Nerd Font",
"linkPreviewFont": "terminus",
"description": "Squarish characters that are slightly askew"
},

View File

@ -14,7 +14,7 @@ page: font-downloads
<div class="item">
<a href="https://github.com/ryanoasis/nerd-fonts/releases/download/v{{ site.current_version }}/{{ font.unpatchedName }}.zip">
<div class="download-icon"></div>
<img src="/assets/img/previews/{{ font.patchedName }} Nerd Font.svg" alt="{{ font.unpatchedName }}" title="Download {{ font.unpatchedName }}">
<img src="/assets/img/previews/{{ font.imagePreviewFont }}.svg" alt="{{ font.unpatchedName }}" title="Download {{ font.unpatchedName }}">
</a>
<ul>
{% if font.unpatchedName != font.patchedName %}<li><strong>Reserved Font Name:</strong> {{ font.unpatchedName }}</li>{% endif %}