1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-19 20:12:52 +02:00
nerd-fonts/_includes/scripts.html
Fini Jastrow b28c8aaa76 Fix Star/Fork button sometimes not showing
[why]
The Star and Fork buttons sometime show nicely, sometimes they are just
plain linked tect with no count and no icon and nothing.

[how]
The reason is not completely clear, sometimes it works and without any
change after a complete reload it does not work anymore.

The most likely candidate is the Github rate limit that we run into for
cross repo access. To avoid that we just copy the button script into our
repository. The rate limit will now not apply anymore.

But of course we will also not get any updates. That needs to be checked
from time to time manually - as with the Github actions.

Strange is already that the current script from github.io is version
2.27.0 while the latest release on the repo is 4.2.2. The date is the
same (Dec 2022).

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-10-11 08:16:55 +02:00

19 lines
685 B
HTML

<script src="buttons.js"></script>
<script src="site.js"></script>
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "SoftwareApplication",
"name" : "Nerd Fonts - Iconic font aggregator",
"image" : "https://www.nerdfonts.com/assets/img/sankey-glyphs-combined-diagram.png",
"author" : {
"@type" : "Person",
"name" : "Ryan L McIntyre"
},
"downloadUrl" : "https://www.nerdfonts.com/font-downloads",
"operatingSystem" : "Linux, macOS, Windows",
"screenshot" : "https://www.nerdfonts.com/assets/img/nerd-fonts-powerline-extra-terminal.png",
"softwareVersion" : "{{ site.current_version }}"
}
</script>