mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-02-02 11:32:30 -06:00
17 lines
No EOL
716 B
HTML
17 lines
No EOL
716 B
HTML
<span>
|
|
{{ if eq .Kind "taxonomy"}}
|
|
<span id="likes_taxonomy_{{ .Page.Data.Plural }}"
|
|
{{ else if eq .Kind "term"}}
|
|
<span id="likes_term_{{ .Page.Data.Term }}"
|
|
{{ else }}
|
|
{{ $path := .File.Path }}
|
|
{{range .AllTranslations}}
|
|
{{ $lang := print "." .Lang ".md" }}
|
|
{{ $path = replace $path $lang ".md" }}
|
|
{{end}}
|
|
<span id="likes_{{ $path }}"
|
|
{{ 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</span>
|
|
<span class="inline-block align-text-bottom">{{ partial "icon.html" "heart" }}</span>
|
|
</span>
|
|
{{- /* Trim EOF */ -}} |