forked from drowl87/hextra_mirror

fix: hide lang switch if site is not multilingual docs: update getting started page fix: ordered list style chore: update hugo icon feat: add icon shortcode page docs: add markdown and configuration pages docs: add diagrams page docs: add more content fix: mermaid background and add image styling chore: update templates chore: update hugo stats
9 lines
319 B
HTML
9 lines
319 B
HTML
{{- if .Title -}}
|
|
<figure>
|
|
<img src="{{ .Destination | safeURL }}" title="{{ .Title }}" alt="{{ .PlainText | safeHTML }}" loading="lazy" />
|
|
<figcaption>{{ .Title }}</figcaption>
|
|
</figure>
|
|
{{- else -}}
|
|
<img src="{{ .Destination | safeURL }}" alt="{{ .PlainText | safeHTML }}" loading="lazy" />
|
|
{{- end -}}
|