diff --git a/layouts/shortcodes/codeberg.html b/layouts/shortcodes/codeberg.html index bd52323b..e049c7a9 100644 --- a/layouts/shortcodes/codeberg.html +++ b/layouts/shortcodes/codeberg.html @@ -34,14 +34,14 @@ {{ partial "icon.html" "star" }} -
+
{{ .stars_count }}
{{ partial "icon.html" "fork" }} -
+
{{ .forks_count }}
@@ -58,7 +58,7 @@ .then(data => { document.getElementById('{{ $id }}-full_name').innerHTML = data.full_name; document.getElementById('{{ $id }}-description').innerHTML = data.description; - document.getElementById('{{ $id }}-stars_count').innerHTML = data.starts_count; + document.getElementById('{{ $id }}-stars_count').innerHTML = data.stars_count; document.getElementById('{{ $id }}-forks_count').innerHTML = data.forks_count; }) .catch(error => console.error(error))