🎨 structure: Use more explicit naming in fetchRepo()

This commit is contained in:
Served Smart
2025-06-05 16:05:22 +02:00
parent 37ab1055e7
commit 4ff3d07d30
6 changed files with 11 additions and 11 deletions

View File

@@ -67,7 +67,7 @@
</div>
{{ $fetchRepo := resources.Get "js/fetch-repo.js" }}
{{ $fetchRepo = $fetchRepo | resources.Minify | resources.Fingerprint ($.Site.Params.fingerprintAlgorithm | default "sha512") }}
<script type="text/javascript" src="{{ $fetchRepo.RelPermalink }}" integrity="{{ $fetchRepo.Data.Integrity }}" data-url="{{ $githubURL }}" data-id="{{ $id }}"></script>
<script type="text/javascript" src="{{ $fetchRepo.RelPermalink }}" integrity="{{ $fetchRepo.Data.Integrity }}" data-repo-url="{{ $githubURL }}" data-repo-id="{{ $id }}"></script>
</a>
{{- end -}}