Files
hugo-cwpearson/themes/hugo-academic-master/layouts/partials/widgets/custom.html
Carl Pearson be45676d32 Initial commit
2017-03-12 21:27:57 -05:00

13 lines
338 B
HTML

{{ $page := .page }}
<!-- Custom widget -->
<div class="row">
<div class="col-xs-12 col-md-4 section-heading">
<h1>{{ with $page.Title }}{{ . | markdownify }}{{ end }}</h1>
{{ with $page.Params.subtitle }}<p>{{ . | markdownify }}</p>{{ end }}
</div>
<div class="col-xs-12 col-md-8">
{{ $page.Content }}
</div>
</div>