Copying layouts from old theme to new
This commit is contained in:
5
layouts/shortcodes/img.html
Normal file
5
layouts/shortcodes/img.html
Normal file
@@ -0,0 +1,5 @@
|
||||
{{ $img := $.Page.Resources.GetMatch (.Get 0)}}
|
||||
<figure>
|
||||
<img src="{{ $img.RelPermalink }}" alt="(.Get 1)" />
|
||||
<figcaption>{{.Get 1}}</figcaption>
|
||||
</figure>
|
||||
Reference in New Issue
Block a user