Column filling space for Text section on app page.

This commit is contained in:
Adsooi 2022-01-24 20:39:59 +01:00
parent d37382b73f
commit cd4e6ba220
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160

View file

@ -59,12 +59,12 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
{{ .Content | markdownify }} {{ .Content | markdownify }}
</div> </div>
{{ else if eq .Type "text/image" }} {{ else if eq .Type "text/image" }}
<div class="column text-center"> <div class="column col1 col1-fill text-center">
{{ .Content | markdownify }} {{ .Content | markdownify }}
<img src="/img/{{ .Image }}" 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 col1 col1-fill text-center">
{{ .Content | markdownify }} {{ .Content | markdownify }}
</div> </div>
{{ end }} {{ end }}