forked from goffee/core
11 lines
450 B
HTML
11 lines
450 B
HTML
|
{{define "page_card"}}
|
||
|
<div class="card">
|
||
|
<div class="card-body">
|
||
|
{{if .CardTitle}}<h5 class="card-title">{{.CardTitle}}</h5>{{end}}
|
||
|
{{if .CardSubTitle}}<h6 class="card-subtitle mb-2 text-muted">{{.CardSubTitle}}</h6>{{end}}
|
||
|
{{if .CardBody}}<p class="card-text">{{.CardBody}}</p>{{end}}
|
||
|
{{block "page_card_content" .}}{{end}}
|
||
|
{{if .CardLink}}<a href="{{.CardLink}}" class="card-link">Card link</a>{{end}}
|
||
|
</div>
|
||
|
</div>
|
||
|
{{end}}
|