fixed missing .Path to avoid deprecation warnings

This commit is contained in:
Nuno Coração 2022-10-06 14:58:31 +01:00
parent f255b20ec4
commit 5f4f73b1c6
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
<span> <span>
<span id="likes_{{ .Path }}" title="likes">{{- i18n "article.likes" 0 | markdownify | emojify -}}</span> <span id="likes_{{ .File.Path }}" title="likes">{{- i18n "article.likes" 0 | markdownify | emojify -}}</span>
</span> </span>
{{- /* Trim EOF */ -}} {{- /* Trim EOF */ -}}

View file

@ -1,6 +1,6 @@
{ {
"name": "hugo-blowfish-theme", "name": "hugo-blowfish-theme",
"version": "1.5.0", "version": "1.5.1",
"description": "Blowfish theme for Hugo", "description": "Blowfish theme for Hugo",
"scripts": { "scripts": {
"preinstall": "rimraf assets/vendor", "preinstall": "rimraf assets/vendor",