Skip to content
Snippets Groups Projects
Commit 46c05cce authored by Lars Bilke's avatar Lars Bilke
Browse files

[web] Default feature layout is left.

parent e6a7627a
No related branches found
No related tags found
No related merge requests found
<div class="py-8 {{ .feature.direction | default " left "}} {{ .feature.class }}"> <div class="py-8 {{ .feature.direction | default " left "}} {{ .feature.class }}">
<div class="container"> <div class="container">
{{ if or (eq .feature.layout "left") (eq .feature.layout "right") }} {{ if or ( not .feature.layout ) ( or (eq .feature.layout "left") (eq .feature.layout "right") ) }}
<div class="flex flex-wrap items-center -mx-4{{ if eq .feature.layout "right" }} flex-row-reverse{{ end }}"> <div class="flex flex-wrap items-center -mx-4{{ if eq .feature.layout "right" }} flex-row-reverse{{ end }}">
<div class="w-full md:w-1/2 md:px-4"> <div class="w-full md:w-1/2 md:px-4">
<h2 class="uppercase">{{ markdownify .feature.headline }}</h2> <h2 class="uppercase">{{ markdownify .feature.headline }}</h2>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment