speedtech-website/themes/lean/layouts/index.html

32 lines
1,021 B
HTML
Raw Permalink Normal View History

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-11 20:54:29 +02:00
<div id="page-content">
2025-12-15 16:20:14 +01:00
<div id="home-introduction" class="row container">
2025-12-14 16:49:57 +01:00
{{ range sort (index .Site.Data.introduction .Site.Language.Lang) "weight" }}
2025-12-16 10:07:06 +01:00
<div class="col l4 m4 s12" style="margin-bottom: 20px;">
2025-12-15 16:07:56 +01:00
{{ if (fileExists (printf "assets/%s" .image )) -}}
{{ $mainimage := resources.Get .image }}
2025-12-16 10:07:06 +01:00
<a href="{{ .url }}"><img alt="{{ .title }}" class="img-thumbnail img-fluid" src="{{ $mainimage.RelPermalink }}" ></a>
2025-12-15 16:07:56 +01:00
{{ end }}
2025-12-16 10:07:06 +01:00
<h4><a href="{{ .url }}">{{ .title }}</a></h4>
2025-12-15 16:07:56 +01:00
</div>
2025-12-14 16:49:57 +01:00
{{ end }}
</div>
<div id="home-blog-posts" class="container">
<div class="row">
<div class="col m12 l12">
{{ partial "home-blog-posts.html" . }}
</div>
</div>
</div>
{{ partial "home-bottom.html" . }}
2025-05-11 20:54:29 +02:00
</div>
2024-10-04 11:58:15 +02:00
{{ partial "footer.html" . }}
</body>
</html>