Add short code + add improve this page button
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<img src="{{ .Get "src"}}"
|
||||
{{ if .Get "title"}}
|
||||
alt="{{.Get "title"}}"
|
||||
{{end}}
|
||||
{{ if .Get "width"}}
|
||||
width="{{.Get "width"}}"
|
||||
{{end}}
|
||||
{{ if .Get "height"}}
|
||||
height="{{.Get "height"}}"
|
||||
{{end}}
|
||||
{{ if .Get "float"}}
|
||||
style="float: {{.Get "float"}};"
|
||||
{{end}}
|
||||
{{ if .Get "align"}}
|
||||
class="{{.Get "align"}}"
|
||||
{{end}}
|
||||
>
|
||||
@@ -0,0 +1,7 @@
|
||||
<div class="row">
|
||||
{{ range $idx, $val := split .Inner "---" }}
|
||||
<div class="col col-sm-12 col-lg-{{ $.Get $idx }}">
|
||||
{{ $val | markdownify }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
@@ -0,0 +1 @@
|
||||
<div style="margin-top: {{ .Get 0 }}rem;"></div>
|
||||
Reference in New Issue
Block a user