add theme
This commit is contained in:
12
themes/academic/layouts/partials/widgets/custom.html
Normal file
12
themes/academic/layouts/partials/widgets/custom.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{{ $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>
|
||||
Reference in New Issue
Block a user