2024-10-04 11:58:15 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{{ .Site.Language.Lang }}">
|
|
|
|
|
|
|
|
{{ partial "head.html" . }}
|
|
|
|
|
2025-05-14 18:03:13 +02:00
|
|
|
<body hx-boost="true" lang="{{ .Site.Language.Lang }}">
|
2024-10-04 11:58:15 +02:00
|
|
|
{{ partial "nav.html" . }}
|
2025-05-18 16:19:27 +02:00
|
|
|
{{ $projects := first 4 ((where (.Site.RegularPages.RelatedIndices . "services" ) "Type" "blogspot").ByLastmod ) }}
|
|
|
|
{{ $numOfProjects := $projects | len}}
|
|
|
|
|
|
|
|
{{ $contentClass := "s12 m9 l9" }}
|
|
|
|
|
|
|
|
{{ if eq $numOfProjects 0 }}
|
|
|
|
{{ $contentClass = "s12 m12 l12" }}
|
|
|
|
{{ end }}
|
2024-10-04 11:58:15 +02:00
|
|
|
|
2025-05-11 20:54:29 +02:00
|
|
|
<div id="page-content">
|
2024-10-04 11:58:15 +02:00
|
|
|
<header class="service">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
2025-05-18 16:19:27 +02:00
|
|
|
<div class="col {{ $contentClass }}">
|
2024-10-04 11:58:15 +02:00
|
|
|
<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">
|
2025-05-18 16:19:27 +02:00
|
|
|
<div class="col {{ $contentClass }}">
|
|
|
|
{{ if (fileExists (printf "assets/%s" (index .Params.images 0))) -}}
|
|
|
|
{{ $mainimage := resources.Get (index .Params.images 0) }}
|
|
|
|
<p style="text-align: center"><img class="img-fluid" src="{{ $mainimage.RelPermalink }}" width="500"></p>
|
|
|
|
{{ end }}
|
|
|
|
<div style="text-align: justify;">
|
|
|
|
{{ .Content }}
|
|
|
|
</div>
|
2024-10-04 11:58:15 +02:00
|
|
|
</div>
|
|
|
|
|
2025-05-18 16:19:27 +02:00
|
|
|
{{ if gt $numOfProjects 0 }}
|
|
|
|
<div class="col s12 m3 l3 servicesidebar">
|
|
|
|
{{ partial "widgets/servicesidebar.html" (dict "projects" $projects "service" .) }}
|
2024-10-04 11:58:15 +02:00
|
|
|
</div>
|
2025-05-18 16:19:27 +02:00
|
|
|
{{ end }}
|
2024-10-04 11:58:15 +02:00
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- /.row -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- /.container -->
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
<!-- /#content -->
|
2025-05-11 20:54:29 +02:00
|
|
|
</div>
|
2024-10-04 11:58:15 +02:00
|
|
|
{{ partial "footer.html" . }}
|
|
|
|
</body>
|
|
|
|
</html>
|