forked from markus/AMPERION_Webpage
SEO Optimierung + Leistungsscroll
This commit is contained in:
parent
2ae734e906
commit
e77017c70a
17 changed files with 259 additions and 165 deletions
8
layouts/_default/render-image.html
Normal file
8
layouts/_default/render-image.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{{- $alt := .Text | default .Title | default "AMPERION" -}}
|
||||
<img src="{{ .Destination | safeURL }}"
|
||||
alt="{{ $alt }}"
|
||||
loading="lazy"
|
||||
decoding="async"
|
||||
{{ with .PlainWidth }}width="{{ . }}"{{ end }}
|
||||
{{ with .PlainHeight }}height="{{ . }}"{{ end }}>
|
||||
{{- if .Title }}<figcaption>{{ .Title }}</figcaption>{{ end -}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue