39 lines
1.2 KiB
HTML
39 lines
1.2 KiB
HTML
{{ define "main" }}
|
|
|
|
{{ partial "navigation.html" . }}
|
|
|
|
<section class="section">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-lg-8 offset-lg-2 text-center height-title">
|
|
<h1>{{ .Title }}</h1>
|
|
<ul class="list-inline mb-50">
|
|
{{ if .Params.Author }}
|
|
<li class="list-inline-item"><a href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize }}/">{{ .Params.Author }}</a></li>
|
|
{{ end }}
|
|
{{ if .Date }}
|
|
<li class="list-inline-item">Dernière modification :<br> {{ .Date | time.Format ":date_full" }}</li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ if .Params.Image }}
|
|
<img class="img-fluid mb-50" src="{{ .Params.Image | absURL }}" alt="blog-image" loading="lazy">
|
|
{{ end }}
|
|
</div>
|
|
<div class="col-lg-8 offset-lg-2">
|
|
<div class="post-single-content">
|
|
{{ .Content }}
|
|
</div>
|
|
{{ if site.Params.post_share }}
|
|
{{ partial "post-share.html" . }}
|
|
{{ end }}
|
|
<!-- comments -->
|
|
<div class="mt-5">
|
|
{{ template "_internal/disqus.html" . }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
{{ end }}
|