Merge branch 'blog-photo-link' into 'master'
WIP: Resolve "Add link to original image to blogPhoto" Closes #13 See merge request patek-devs/patek.cz!19
This commit is contained in:
commit
b097b11120
@ -46,6 +46,6 @@ where possible named params are:
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
<figure>
|
<figure>
|
||||||
<img src="{{ $largest.RelPermalink }}" alt="{{ $alt }}" srcset="{{ delimit $srcset ", " }}">
|
<a href="{{ $img.RelPermalink }}"><img src="{{ $largest.RelPermalink }}" alt="{{ $alt }}" srcset="{{ delimit $srcset ", " }}"></a>
|
||||||
{{ if (ne $caption false) }}<figcaption>{{ $caption }}</figcaption>{{ end }}
|
{{ if (ne $caption false) }}<figcaption>{{ $caption }}</figcaption>{{ end }}
|
||||||
</figure>
|
</figure>
|
||||||
|
Loading…
Reference in New Issue
Block a user