From d4b0da0cf24b98e95464fa56bf48d9d493b4b96a Mon Sep 17 00:00:00 2001 From: Edoardo Rosa <6991986+notdodo@users.noreply.github.com> Date: Sat, 25 Nov 2023 16:03:50 +0100 Subject: [PATCH] fix: .File.Path warnings --- layouts/_default/list.html | 6 +++--- layouts/_default/single.html | 6 +++--- layouts/partials/meta/likes.html | 4 ++-- layouts/partials/meta/views.html | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 62843f88..4fe35332 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -21,8 +21,8 @@ {{ with .File }} {{ end }} {{ $jsPage := resources.Get "js/page.js" }} @@ -141,4 +141,4 @@ {{ partial "pagination.html" . }} - {{ end }} \ No newline at end of file + {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 026954c7..174100e9 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -88,8 +88,8 @@ {{ with .File }} {{ end }} {{ $jsPage := resources.Get "js/page.js" }} @@ -114,4 +114,4 @@ {{ end }} -{{ end }} \ No newline at end of file +{{ end }} diff --git a/layouts/partials/meta/likes.html b/layouts/partials/meta/likes.html index 07e6293b..af7d49a5 100644 --- a/layouts/partials/meta/likes.html +++ b/layouts/partials/meta/likes.html @@ -4,9 +4,9 @@ {{ else if eq .Kind "term"}} 0 {{ end }} class="animate-pulse inline-block text-transparent max-h-3 rounded-full mt-[-2px] align-middle bg-neutral-300 dark:bg-neutral-400" title="likes">loading {{ partial "icon.html" "heart" }} -{{- /* Trim EOF */ -}} \ No newline at end of file +{{- /* Trim EOF */ -}} diff --git a/layouts/partials/meta/views.html b/layouts/partials/meta/views.html index e60ba386..2f3fbfc7 100644 --- a/layouts/partials/meta/views.html +++ b/layouts/partials/meta/views.html @@ -4,7 +4,7 @@ {{ else if eq .Kind "term"}} 0 {{ end }} class="animate-pulse inline-block text-transparent max-h-3 rounded-full mt-[-2px] align-middle bg-neutral-300 dark:bg-neutral-400" title="views">loading {{ partial "icon.html" "eye" }}