Files
hugo-cwpearson/themes/academic/layouts/partials/widgets/custom.html
Carl Pearson c86ae95ea6 add theme
2017-07-18 17:40:37 -04: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>