Merge pull request #2262 from ZhenShuo2021/refactor/repo-card

♻️ Refactor(repo-card): reduce coupling and indention
This commit is contained in:
Nuno C. authored and GitHub committed 2025-07-10 11:37:27 +01:00
commit 037c741ded
6 files changed
+61 -35

No files matched your search

+1
View File
@@ -68,6 +68,7 @@
{{ $fetchRepo := resources.Get "js/fetch-repo.js" }}
{{ $fetchRepo = $fetchRepo | resources.Minify | resources.Fingerprint ($.Site.Params.fingerprintAlgorithm | default "sha512") }}
<script
async
type="text/javascript"
src="{{ $fetchRepo.RelPermalink }}"
integrity="{{ $fetchRepo.Data.Integrity }}"