fixed bug in list.html likes and views

This commit is contained in:
Nuno Coração
2023-05-08 21:35:02 +01:00
parent e75be1c390
commit cb77f886ea
2 changed files with 14 additions and 10 deletions

View File

@@ -42,14 +42,16 @@
</br></br>
{{ partial "series-closed.html" . }}
</div>
<script>
<script>
var oid = "views_{{ .File.Path }}"
var oid_likes = "likes_{{ .File.Path }}"
</script>
{{ $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>
</section>
</section>
<footer class="pt-8 max-w-prose print:hidden">
{{ partial "author.html" . }}