Create main parts of short codes
This commit is contained in:
@@ -1 +1,7 @@
|
||||
{{ .Inner }}
|
||||
{{ $colClass := "" }}
|
||||
{{- with .Get "columns" }}
|
||||
{{ $colClass = (print "cols-" .) }}
|
||||
{{ end -}}
|
||||
<div class="tsc-gallery {{ $colClass }}">
|
||||
{{ .Inner }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user