fix: Layout and theme

This commit is contained in:
SauravDhakal
2026-04-01 10:33:28 +05:45
parent 38baeb86e8
commit 0c4e6715de
6 changed files with 243 additions and 15 deletions

19
layouts/index.html Normal file
View File

@@ -0,0 +1,19 @@
{{- define "main" }}
{{- if .Site.Params.homeInfoParams }}
<article class="first-entry home-info">
<header class="entry-header">
<h1>{{ .Site.Params.homeInfoParams.Title | markdownify }}</h1>
</header>
<div class="entry-content">
{{ .Site.Params.homeInfoParams.Content | markdownify }}
</div>
<footer class="entry-footer">
{{- partial "social_icons.html" (dict "align" site.Params.homeInfoParams.AlignSocialIconsTo) }}
</footer>
</article>
{{- end }}
{{- /* No recent posts/notes - clean home page */ -}}
{{- end }}{{/* end main */}}