mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2025-01-25 03:32:02 +02:00
download: Fix RFN detection for un-renamed fonts
[why] When we do not rename a font that has the RFN flag set we do not list the font as RFN-font. This is for example the case with mononoki since the last commit. [how] Show the source font name not only when it differs but also when it is a RFN. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
7ca49bc12f
commit
4f9592107c
@ -16,7 +16,7 @@ page: font-downloads
|
||||
</a>
|
||||
{% assign upN = font.unpatchedName | split: " " | join: "" %}
|
||||
{% assign pN = font.patchedName | split: " " | join: "" %}
|
||||
{% if upN != pN %}<div><strong>• {% if font.RFN == true %}Reserved{% else %}Original{% endif %} Font Name:</strong> {{ font.unpatchedName }}</div>{% endif %}
|
||||
{% if font.RFN == true or upN != pN %}<div><strong>• {% if font.RFN == true %}Reserved{% else %}Original{% endif %} Font Name:</strong> {{ font.unpatchedName }}</div>{% endif %}
|
||||
<div><strong>• Info:</strong> {{ font.description }}</div>
|
||||
<div class="nerd-font-buttons-wrapper">
|
||||
<a href="https://github.com/ryanoasis/nerd-fonts/releases/download/v{{ site.current_version }}/{{ font.folderName }}.zip" class="inlineblock bg-green border-white text-white nerd-font-button nf-fa-download">Download</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user