File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
src/server/templates/components Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 1616 {{ footer_icon_link('https://discord.gg/zerRaGK9EC',
1717 'icons/discord.svg',
1818 'Discord') }}
19- {{ footer_icon_link('https://github.com/coderamp-labs/gitingest/releases/latest ',
19+ {{ footer_icon_link('https://github.com/coderamp-labs/gitingest/releases',
2020 'icons/changelog.svg',
2121 'Latest Changelog') }}
2222 </div >
2323 </div >
2424 </div >
25- <script >
26- fetch (' https://api.github.com/repos/coderamp-labs/gitingest/releases/latest' )
27- .then (response => response .json ())
28- .then (data => {
29- const changelogLink = document .querySelector (' a[href="https://github.com/coderamp-labs/gitingest/releases/latest"]' );
30- if (changelogLink && data .html_url ) {
31- changelogLink .href = data .html_url ;
32- const span = changelogLink .querySelector (' span' );
33- if (span) {
34- span .textContent = ` Changelog (${ data .tag_name } )` ;
35- }
36- }
37- });
38- </script >
3925</footer >
You can’t perform that action at this time.
0 commit comments