This commit is contained in:
Yuto Tokunaga 2024-03-24 10:17:37 +09:00
parent bafc42f587
commit cd0b12e3e8
2 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@
{{ else if eq .Kind "term"}}
<span id="likes_term_{{ .Page.Data.Term }}"
{{ else }}
{{ $path := .File.Path }}
{{ $path := .Path }}
{{range .AllTranslations}}
{{ $lang := print "." .Lang ".md" }}
{{ $path = replace $path $lang ".md" }}
@ -14,4 +14,4 @@
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</span>
<span class="inline-block align-text-bottom">{{ partial "icon.html" "heart" }}</span>
</span>
{{- /* Trim EOF */ -}}
{{- /* Trim EOF */ -}}

View file

@ -4,7 +4,7 @@
{{ else if eq .Kind "term"}}
<span id="views_term_{{ .Page.Data.Term }}"
{{ else }}
{{ $path := .File.Path }}
{{ $path := .Path }}
{{range .AllTranslations}}
{{ $lang := print "." .Lang ".md" }}
{{ $path = replace $path $lang ".md" }}