blob: 9d61ddc601ce6e1b10d074ab198ec8b93d43c65a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{{ define "main" }}
<section class="section">
<div class="container">
<div class="row">
<div class="col-lg-8 mx-auto block shadow mb-5">
<h2>{{ .Title | markdownify }}</h2>
<div class="mb-3 post-meta">
<a href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize | lower }}">{{ .Params.Author | title | humanize }}</a>,
{{ .PublishDate.Format "02/01/2006" }}, {{ range .Params.Categories }}
<a href="{{ `categories/` | relLangURL }}{{ . | urlize | lower }}">{{ . | title | humanize }}</a>
{{ end }}
</div>
{{ if .Params.Image }}
<img src="{{ .Params.Image | relURL }}" class="img-fluid w-100 mb-4" alt="{{ .Title | markdownify }}">
{{ end }}
<div class="content mb-5">
{{ .Content }}
</div>
</div>
{{ if .Site.DisqusShortname}}
<div class="col-lg-8 mx-auto block shadow">
<!-- comments -->
{{ template "_internal/disqus.html" . }}
</div>
{{ end }}
</div>
</div>
</section>
{{ end }}
|