Initial version
This commit is contained in:
commit
ed5653a7fc
211 changed files with 11043 additions and 0 deletions
5
themes/zen/layouts/shortcodes/button.html
Normal file
5
themes/zen/layouts/shortcodes/button.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
{{ $class := .Get "class" -}}
|
||||
{{ $newtab := .Get "newtab" | default false -}}
|
||||
{{ $src := .Get "src" -}}
|
||||
{{ $text := .Get "text" -}}
|
||||
<a class="button{{ with $class }} {{ . }}{{ end }}" href="{{ $src }}"{{ if $newtab }} target="_blank" rel="noopener noreferrer"{{ end }}>{{ $text }}</a>
|
Loading…
Add table
Add a link
Reference in a new issue