Fix: remove submodule

This commit is contained in:
psychhim
2025-11-11 18:07:05 +05:30
parent ea7284b910
commit 27a08b46f6
111 changed files with 4844 additions and 4 deletions

View File

@@ -0,0 +1,20 @@
{{ define "main" }}
{{ $pages := where site.RegularPages "Section" "ne" "" }} {{- /* exclude non-section pages, e.g. /content/about.md */ -}}
{{ $homePagerSize := or site.Params.homePagerSize 10 }}
{{ $paginator := .Paginate $pages $homePagerSize }}
{{ .Content }}
{{ range $paginator.Pages }}
<h2 class="home-post-title"><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ partial "main/dates.html" . }}
{{ with .Summary }}
{{- /*
Create deterministic summary output for styling.
See https://github.com/gohugoio/hugo/issues/8910
*/ -}}
<p class="summary">{{ . | plainify | htmlUnescape | chomp }}</p>
{{- end }}
{{ end }}
<nav class="paginator">
{{- partial "pagination.html" . }} {{/* embedded template */}}
</nav>
{{ end }}