diff options
-rw-r--r-- | layouts/shortcodes/structure/row.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/layouts/shortcodes/structure/row.html b/layouts/shortcodes/structure/row.html new file mode 100644 index 0000000..08c04de --- /dev/null +++ b/layouts/shortcodes/structure/row.html @@ -0,0 +1,8 @@ +{{- $col_definition := .Get "width" | default "col" -}} +{{- $justify_definition := .Get "justify" | default "justify-content-center" -}} +{{- $align_definition := .Get "align" | default "" -}} +<div class="row {{ $justify_definition }}"> + <div class="{{ $col_definition }} {{ $align_definition }}"> +{{ .Inner }} + </div> +</div> |