mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-12-19 20:12:52 +02:00
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>
This commit is contained in:
parent
d60ae57b5b
commit
b28c8aaa76
@ -25,4 +25,4 @@
|
||||
});
|
||||
</script>
|
||||
{% endif %}
|
||||
</head>
|
||||
</head>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
||||
<script src="buttons.js"></script>
|
||||
<script src="site.js"></script>
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
@ -15,4 +15,4 @@
|
||||
"screenshot" : "https://www.nerdfonts.com/assets/img/nerd-fonts-powerline-extra-terminal.png",
|
||||
"softwareVersion" : "{{ site.current_version }}"
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
6
buttons.js
Normal file
6
buttons.js
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user