mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-21 02:51:52 +02:00
Merge pull request #1359 from Aphcity/patch-2
Fix list.html render issue
This commit is contained in:
commit
b0aa7298b5
1 changed files with 8 additions and 7 deletions
|
@ -19,7 +19,7 @@
|
|||
<div class="mt-1 mb-2 text-base text-neutral-500 dark:text-neutral-400 print:hidden">
|
||||
{{ partial "article-meta/list.html" (dict "context" . "scope" "single") }}
|
||||
</div>
|
||||
|
||||
{{ with .File }}
|
||||
{{ $path := .File.Path }}
|
||||
{{range .AllTranslations}}
|
||||
{{ $lang := print "." .Lang ".md" }}
|
||||
|
@ -29,6 +29,7 @@
|
|||
var oid = "views_{{ $path }}"
|
||||
var oid_likes = "likes_{{ $path }}"
|
||||
</script>
|
||||
{{ end }}
|
||||
{{ $jsPage := resources.Get "js/page.js" }}
|
||||
{{ $jsPage = $jsPage | resources.Minify | resources.Fingerprint "sha512" }}
|
||||
<script type="text/javascript" src="{{ $jsPage.RelPermalink }}" integrity="{{ $jsPage.Data.Integrity }}"></script>
|
||||
|
|
Loading…
Add table
Reference in a new issue