download: Add upstream version info

Make the bulletpoints one thing with not-growing line spacing.
Also add a bit of margin on the top.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
Fini Jastrow 2024-03-15 12:08:30 +01:00
parent 7fc7f34ba0
commit 367b6d5470

View file

@ -16,8 +16,13 @@ page: font-downloads
</a> </a>
{% assign upN = font.unpatchedName | split: " " | join: "" %} {% assign upN = font.unpatchedName | split: " " | join: "" %}
{% assign pN = font.patchedName | split: " " | join: "" %} {% assign pN = font.patchedName | split: " " | join: "" %}
{% if font.RFN == true or upN != pN %}<div><strong>&bull; {% if font.RFN == true %}Reserved{% else %}Original{% endif %} Font Name:</strong> {{ font.unpatchedName }}</div>{% endif %} <div><br>
<div><strong>&bull; Info:</strong> {{ font.description }}</div> {% if font.RFN == true or upN != pN %}
<strong>&bull; {% if font.RFN == true %}Reserved{% else %}Original{% endif %} Font Name:</strong> {{ font.unpatchedName }}<br>
{% endif %}
<strong>&bull; Version:</strong> {{ font.version }}<br>
<strong>&bull; Info:</strong> {{ font.description }}
</div>
<div class="nerd-font-buttons-wrapper"> <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> <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>
{% if font.linkPreviewFont != false %} {% if font.linkPreviewFont != false %}