58 lines
1.4 KiB
HTML
58 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{{ .Site.Language.Lang }}">
|
|
|
|
{{ partial "head.html" . }}
|
|
|
|
<body lang="{{ .Site.Language.Lang }}">
|
|
{{ partial "nav.html" . }}
|
|
|
|
<header class="service">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-9">
|
|
<h2>{{ .Title }}</h2>
|
|
<p>{{ .Params.shortDescription }}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<div id="content">
|
|
{{ if isset .Params "id" }}
|
|
{{ partial .Params.id . }}
|
|
{{ else }}
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-9">
|
|
<section class="col-sm-12">
|
|
{{ 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 }}
|
|
<div style="text-align: justify;">
|
|
{{ .Content }}
|
|
</div>
|
|
</section>
|
|
</div>
|
|
|
|
<div class="col-md-3 servicesidebar">
|
|
{{ partial "widgets/servicesidebar.html" . }}
|
|
</div>
|
|
|
|
</div>
|
|
<!-- /.row -->
|
|
|
|
</div>
|
|
<!-- /.container -->
|
|
|
|
{{ end }}
|
|
</div>
|
|
<!-- /#content -->
|
|
|
|
{{ partial "footer.html" . }}
|
|
|
|
</body>
|
|
</html> |