3 changed files with 4 additions and 4 deletions
@ -1,10 +1,10 @@ |
|||
<!-- This shortcode renders an HTML figure based on a file dropped in the /public folder --> |
|||
{{ $url := .Get "src" }} |
|||
<figure> |
|||
<img src="{{ $url }}"> |
|||
<img src="{{ $url }}" alt="{{- .Get "title" | plainify -}}"> |
|||
{{ with .Get "title" }} |
|||
<figcaption> |
|||
{{ . }} |
|||
{{- . -}} |
|||
</figcaption> |
|||
{{ end }} |
|||
</figure> |
|||
@ -1 +1 @@ |
|||
Subproject commit b44dbf83c122f737f2a21359c469af6e792388ee |
|||
Subproject commit 1fefdd07f96b3ab6580fbbb9eb7cea73352d2470 |
|||
Loading…
Reference in new issue