Update docs-site

This commit is contained in:
Ta-Ching Chen
2018-01-23 13:27:10 +08:00
parent 8df520721c
commit 01bcfad44a
428 changed files with 6789 additions and 29646 deletions
@@ -0,0 +1,13 @@
<a {{ with .Get "href"}} href="{{.}}" target="_blank" {{ end }} class="btn btn-default">
{{ $icon := .Get "icon" }}
{{ $iconposition := .Get "icon-position" }}
{{ if ($icon) }}
{{ if or (not ($iconposition)) (eq $iconposition "left") }}
<i class="{{$icon}}"></i>
{{ end }}
{{ end }}
{{ .Inner }}
{{ if and ($icon) (eq $iconposition "right")}}
<i class="{{$icon}}"></i>
{{ end }}
</a>