59 lines
1.7 KiB
HTML
59 lines
1.7 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="{{ .Site.Language.Lang }}">
|
||
|
|
||
|
{{ partial "head.html" . }}
|
||
|
|
||
|
<body lang="{{ .Site.Language.Lang }}">
|
||
|
{{ partial "nav.html" . }}
|
||
|
|
||
|
<header class="blog-single">
|
||
|
<div class="container">
|
||
|
<div class="row">
|
||
|
<div class="col-md-9">
|
||
|
<h2><a href="{{ "blog/spot" | relLangURL }}">SPOT Blog</a></h2>
|
||
|
{{ partial "widgets/categoriesspot.html" . }}
|
||
|
<h3 class="title">{{ .Title }}</h3>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</header>
|
||
|
|
||
|
<div id="content">
|
||
|
<div class="container">
|
||
|
<div class="row">
|
||
|
<div class="col-md-9">
|
||
|
<section class="col-sm-12">
|
||
|
<article>
|
||
|
|
||
|
{{ if isset .Params "images"}}
|
||
|
{{ if (fileExists (printf "assets/%s" (index .Params.images 0))) -}}
|
||
|
{{ $mainimage := resources.Get (index .Params.images 0) }}
|
||
|
<p class="text-center"><img class="img-fluid" src="{{ $mainimage.RelPermalink }}"
|
||
|
width="500">
|
||
|
</p>
|
||
|
{{ end }}
|
||
|
{{ end }}
|
||
|
|
||
|
<div style="text-align: justify;">
|
||
|
{{ .Content }}
|
||
|
</div>
|
||
|
|
||
|
<small>{{ i18n "publishdate"}} : {{.PublishDate.Format "2006-01-02"}}</small> | <small>{{ i18n "lastchange"}} : {{.Lastmod.Format "2006-01-02"}}</small>
|
||
|
|
||
|
{{ partial "partials/widgets/spotcattags.html" . }}
|
||
|
|
||
|
</article>
|
||
|
</section>
|
||
|
</div>
|
||
|
|
||
|
{{ partial "partials/widgets/spotsidebar.html" . }}
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- /#content -->
|
||
|
|
||
|
{{ partial "footer.html" . }}
|
||
|
|
||
|
</body>
|
||
|
</html>
|