Implement new layout dir structure.
This commit is contained in:
parent
c94e3a7022
commit
83530eb11a
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +0,0 @@
|
|||
{{ $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…
Reference in a new issue