[THEME] Fix image hover and sup size

This commit is contained in:
Gregory Trolliet 2022-10-11 19:23:02 +02:00
parent 59b2f3c8f4
commit 70214fda1b
2 changed files with 4 additions and 1 deletions

View file

@ -2,7 +2,7 @@
{{ $name_splitted := split $img.RelPermalink "." }}
{{ $name_base := index $name_splitted 0 }}
{{ $ext_base := index $name_splitted 1 }}
<figure {{ with .Get "class" }} class="{{ . }}"{{ end }}>
<figure {{ with .Get "id" }} id="{{ . }}"{{ end }}{{ with .Get "class" }} class="{{ . }}"{{ end }}>
{{ with .Get "link" }}
<a href="{{ . | absURL }}">
{{ else }}