22 lines
706 B
HTML
22 lines
706 B
HTML
|
{{ define "main" }}
|
||
|
|
||
|
<section class="section">
|
||
|
<div class="container">
|
||
|
<div class="row">
|
||
|
<div class="col-12">
|
||
|
{{ partial "breadcrumb.html" . }}
|
||
|
<h1 class="mb-4 border-bottom border-primary d-inline-block text-capitalize">{{ if index (split .Title "/") 2 }}{{index (split .Title "/") 2}}{{ else if index (split .Title "/") 1 }}{{index (split .Title "/") 1}}{{else}}{{index (split .Title "/") 0}}{{end}}</h1>
|
||
|
</div>
|
||
|
<div class="col-lg-8 mb-5 mb-lg-0">
|
||
|
<div class="row">
|
||
|
{{ range .Data.Pages }}
|
||
|
{{ .Render "post"}}
|
||
|
{{ end }}
|
||
|
</div>
|
||
|
</div>
|
||
|
{{ partial "sidebar.html" . }}
|
||
|
</div>
|
||
|
</div>
|
||
|
</section>
|
||
|
|
||
|
{{ end }}
|