mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
First pass at new site template
This commit is contained in:
committed by
Chris Cummer
parent
215c7e571f
commit
d872a28cf7
5
_site/themes/docdock/layouts/shortcodes/panel.html
Normal file
5
_site/themes/docdock/layouts/shortcodes/panel.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<div class="panel {{with .Get "theme" }}panel-{{.}}{{else}}panel-primary{{end}}">
|
||||
{{ with .Get "header" }}<div class="panel-heading">{{ htmlUnescape . | markdownify}}</div>{{end}}
|
||||
<div class="panel-body">{{.Inner}}</div>
|
||||
{{ with .Get "footer" }}<div class="panel-footer">{{ htmlUnescape . | markdownify}}</div>{{end}}
|
||||
</div>
|
||||
Reference in New Issue
Block a user