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" }}

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" }}