Allowing other extensions for app images.
This commit is contained in:
parent
1942ecf382
commit
43c23b4f27
1 changed files with 3 additions and 3 deletions
|
@ -30,11 +30,11 @@
|
||||||
{{ .Content | markdownify }}
|
{{ .Content | markdownify }}
|
||||||
</div>
|
</div>
|
||||||
<div class="column col2">
|
<div class="column col2">
|
||||||
<img class="vertical-center fill-width" alt="{{ .Alt }}" src="/img/{{ .Image }}.png" loading="lazy"/>
|
<img class="vertical-center fill-width" alt="{{ .Alt }}" src="/img/{{ .Image }}" loading="lazy"/>
|
||||||
</div>
|
</div>
|
||||||
{{ else if eq .Type "image|text" }}
|
{{ else if eq .Type "image|text" }}
|
||||||
<div class="column col2">
|
<div class="column col2">
|
||||||
<img class="vertical-center fill-width" alt="{{ .Alt }}" src="/img/{{ .Image }}.png" loading="lazy"/>
|
<img class="vertical-center fill-width" alt="{{ .Alt }}" src="/img/{{ .Image }}" loading="lazy"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="column col2 text-left vertical-center">
|
<div class="column col2 text-left vertical-center">
|
||||||
{{ .Content | markdownify }}
|
{{ .Content | markdownify }}
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
{{ else if eq .Type "text/image" }}
|
{{ else if eq .Type "text/image" }}
|
||||||
<div class="column text-center">
|
<div class="column text-center">
|
||||||
{{ .Content | markdownify }}
|
{{ .Content | markdownify }}
|
||||||
<img src="/img/{{ .Image }}.png" alt="{{ .Alt }}" loading="lazy"/>
|
<img src="/img/{{ .Image }}" alt="{{ .Alt }}" loading="lazy"/>
|
||||||
</div>
|
</div>
|
||||||
{{ else if eq .Type "text" }}
|
{{ else if eq .Type "text" }}
|
||||||
<div class="column text-center">
|
<div class="column text-center">
|
||||||
|
|
Loading…
Reference in a new issue