Initial commit

This commit is contained in:
Kirchik
2025-08-02 11:45:16 +02:00
parent a6a820aba2
commit a0ba937a46
1078 changed files with 7800 additions and 1115 deletions
@@ -16,6 +16,10 @@
{{- $posts = where .Site.RegularPages "Type" $postsFoldername }}
{{- end }}
{{- $pinnedPosts := where $posts "Params.pinned" true }}
{{- $regularPosts := where $posts "Params.pinned" "!=" true }}
{{- $posts = union $pinnedPosts $regularPosts }}
{{- $firstPost := first 1 $posts }}
{{- if and (eq $postsFeaturedPostEnabled true) (gt (len $posts) 1) -}}
@@ -40,7 +44,7 @@
<!-- Main -->
<div id="main">
{{- if (eq $postsFeaturedPostEnabled true) }}
{{- if and (eq $postsFeaturedPostEnabled true) (eq $postsPaging.PageNumber 1) }}
{{- partial "posts/featured.html" (dict "firstpost" $firstPost "siteData" (index .Site.Data .Site.Language.Lang)) }}
{{- end }}
@@ -60,6 +64,9 @@
<a href="#navPanel" id="navPanelToggle">{{ i18n "NAV_MENU" . }}</a>
</div>
<!-- Global Back to Top Button -->
{{ partial "back-to-top" . }}
{{- template "_internal/google_analytics.html" . }}
{{- partial "scripts/index" . }}