Files
HugoBlox-kit/layouts/partials/widgets/custom.html
T
George Cushen 8277658b81 Set widget identifiers to their respective filenames
Example: `content/home/about.md` widget is now linked from the
menu bar by setting the relevant URL as "#about" in `config.toml`.
2016-11-24 15:57:54 +00:00

13 lines
309 B
HTML

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