mirror of
https://gitee.com/butubb8/blowfish.git
synced 2025-12-05 14:17:50 +08:00
This parameter allows users to choose their algorithm for html integrity checks. This mainly affects Hugo's fingerprint
21 lines
722 B
HTML
21 lines
722 B
HTML
{{ $jsHome := resources.Get "js/home.js" | resources.Minify | resources.Fingerprint (.Site.Params.fingerprintAlgorithm | default "sha512") }}
|
|
<div id="background">
|
|
{{ partial "home/background.html" . }}
|
|
</div>
|
|
<div id="hero" style="display:none">
|
|
{{ partial "home/hero.html" . }}
|
|
</div>
|
|
<div id="profile" style="display:none">
|
|
{{ partial "home/profile.html" . }}
|
|
</div>
|
|
<div id="card" style="display:none">
|
|
{{ partial "home/card.html" . }}
|
|
</div>
|
|
<div id="page" style="display:none">
|
|
{{ partial "home/page.html" . }}
|
|
</div>
|
|
<section>
|
|
{{ partial "recent-articles-demo.html" . }}
|
|
</section>
|
|
<script defer type="text/javascript" src="{{ $jsHome.RelPermalink }}" integrity="{{ $jsHome.Data.Integrity }}"></script>
|