added fig caption to images
This commit is contained in:
parent
828554683b
commit
1760c5b014
1 changed files with 4 additions and 1 deletions
|
@ -60,6 +60,9 @@
|
|||
{{ if .Text }}
|
||||
<figcaption> {{with .Text }} {{ . }} {{end}}</figcaption> <!-- ALT becomes caption. Title becomes moouse over text.-->
|
||||
{{ end }}
|
||||
{{- else -}} <!-- else-->
|
||||
{{- else -}} <!-- else; EDIT TO COVER IMGs in STATIC via link that does not include /static/-->
|
||||
<img src="{{- .Destination | safeURL -}}" alt="{{- .Text -}}" {{- with .Title}} title="{{- . -}}"{{- end -}} />
|
||||
{{ if .Text }}
|
||||
<figcaption> {{with .Text }} {{ . }} {{end}}</figcaption> <!-- ALT becomes caption. Title becomes moouse over text.-->
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
|
|
Loading…
Add table
Reference in a new issue