Convert docdock theme from submodule to native files and fix Hugo compatibility
This commit is contained in:
6
themes/docdock/layouts/shortcodes/button.html
Normal file
6
themes/docdock/layouts/shortcodes/button.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<!-- Boutton -->
|
||||
{{ with .Get "align" }}<center>{{end}}
|
||||
<button class="btn {{with .Get "theme"}}btn-{{.}}{{else}}btn-primary{{end}}" type="button" {{ with .Get "href" }} onclick="location.href='{{.}}'"{{end}} >{{.Inner}}</button>
|
||||
{{ with .Get "align" }}</center>{{end}}
|
||||
|
||||
<!-- Boutton -->
|
||||
Reference in New Issue
Block a user