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

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

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 }}"