update head.html

This commit is contained in:
geekifan
2025-04-21 22:54:09 +08:00
parent ea63dccd58
commit e715cd078b
6 changed files with 117 additions and 11 deletions

View File

@ -8,11 +8,9 @@
{{ $sass := resources.Get "scss/main.bundle.scss" }}
{{ $style := $sass | toCSS $opts | minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
{{ $jsFiles := resources.Match "js/**/*.js" }}
{{ $jsBundle := $jsFiles | resources.Concat "js/bundle.js" | minify | fingerprint }}
<script src="{{ $jsBundle.RelPermalink }}" integrity="{{ $jsBundle.Data.Integrity }}" type="module" defer></script>
</head>
<html>
{{ partial "head.html" . }}
<body>
{{ partial "sidebar.html" . }}
<div id="main-wrapper" class="d-flex justify-content-center">