forked from tsc-vfl/hugo-page
8 lines
220 B
HTML
8 lines
220 B
HTML
|
<!--
|
||
|
{{ .Get "src"}}{{ page.Resources}}
|
||
|
-->
|
||
|
<div class="press-img">
|
||
|
{{- $res := page.Resources.GetMatch (.Get "src") -}}
|
||
|
<img{{ with .Get "alt" }} alt="{{ . }}"{{ end }} src="{{ $res.RelPermalink }}">
|
||
|
</div>
|