2018-04-27 12:00:07 +02:00
|
|
|
{{ partial "header" . }}
|
|
|
|
|
|
|
|
{{ if .Params.bigimg }}
|
|
|
|
<div class="jumbotron big-img" style='background-image: url("{{.Params.bigimg}}");'>
|
|
|
|
<div class="container">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
<main>
|
|
|
|
|
2018-07-13 14:08:43 +02:00
|
|
|
<a name="top"></a>
|
2018-04-27 12:00:07 +02:00
|
|
|
{{ partial "list-item" . }}
|
|
|
|
|
|
|
|
<br> <div class="text-justify">{{ .Content }}</div>
|
|
|
|
|
|
|
|
<!-- related posts with the same tags -->
|
|
|
|
{{ $related := first 3 (where (where (where .Site.Pages.ByDate.Reverse ".Type" "==" "post") ".Params.tags" "intersect" .Params.tags) "Permalink" "!=" .Permalink) }}
|
|
|
|
|
|
|
|
{{ if $related }}
|
|
|
|
|
|
|
|
<h4 class="page-header"><i class="fa fa-newspaper-o"></i> Related by Tags</h4>
|
|
|
|
|
|
|
|
<div class="text-justify">
|
|
|
|
{{ range $related }} {{ partial "related-item" . }} {{ end }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr/>
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
2020-04-12 20:56:41 +02:00
|
|
|
<!-- commenting part -->
|
|
|
|
{{ if (not .Params.disableComments) }}
|
|
|
|
<h4 class="page-header"><i class="fa fa-comments-o"></i>
|
|
|
|
{{ if eq "essays" .Section }}
|
|
|
|
Discussieer mee
|
|
|
|
{{ else }}
|
|
|
|
Join the Discussion
|
|
|
|
{{ end }}
|
|
|
|
</h4>
|
|
|
|
|
|
|
|
<script defer src="https://commento.brainbaking.com/js/commento.js"></script>
|
|
|
|
<div id="commento"></div>
|
|
|
|
|
|
|
|
{{ end }}
|
2020-04-09 10:19:42 +02:00
|
|
|
<h4 class="page-header"> </h4>
|
2018-04-27 12:00:07 +02:00
|
|
|
|
2018-07-13 14:08:43 +02:00
|
|
|
<i class='fa fa-arrow-circle-o-up'></i> <a href="#top">Top</a>
|
|
|
|
|
2018-04-27 12:00:07 +02:00
|
|
|
</main>
|
|
|
|
|
|
|
|
{{ partial "footer.html" . }}
|