wip
This commit is contained in:
6
layouts/_markup/render-image.html
Normal file
6
layouts/_markup/render-image.html
Normal file
@@ -0,0 +1,6 @@
|
||||
{{ with .Page.Resources.Get .Destination | resources.Copy (replaceRE "([^/]*)$" "_$1" (path.Join .Page.Path .Destination)) | fingerprint }}
|
||||
<figure>
|
||||
<a href="{{ .RelPermalink }}"><img src="{{ .RelPermalink }}"></a>
|
||||
{{- with $.Text }}<figcaption>{{ . }}</figcaption>{{ end -}}
|
||||
</figure>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user