Rearrange the variable declarations in post_figure
This commit is contained in:
parent
c068a0b9c0
commit
b85ec512ef
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{{ $img := (.Page.Resources.GetMatch (.Get "name")) }}
|
||||
{{ $resized_img := $img.Fit "576x576" }}
|
||||
<figure>
|
||||
{{ $img := (.Page.Resources.GetMatch (.Get "name")) }}
|
||||
{{ $resized_img := $img.Fit "576x576" }}
|
||||
<a href="{{ $img.RelPermalink }}">
|
||||
<img src="{{ $resized_img.RelPermalink }}" />
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue