summaryrefslogtreecommitdiff
path: root/themes/PaperMod/layouts/partials/home_info.html
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2025-10-13 11:09:38 -0700
committerrtk0c <[email protected]>2025-10-13 11:09:38 -0700
commit5eecca6277dbf6ae74d8ae596542ba05d31b09fd (patch)
treea5e2a36e97a5cf8f974d7cc351ed5376ea7e3d58 /themes/PaperMod/layouts/partials/home_info.html
parent552bcdc848c8a272fc834f8ab9560f203037bbf7 (diff)
Make theme respect _index.md
PaperMod's default is so fucking atrocious... why, like why reinvent a homepage system in the config file???
Diffstat (limited to 'themes/PaperMod/layouts/partials/home_info.html')
-rw-r--r--themes/PaperMod/layouts/partials/home_info.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/themes/PaperMod/layouts/partials/home_info.html b/themes/PaperMod/layouts/partials/home_info.html
index 199dfb7..3d96145 100644
--- a/themes/PaperMod/layouts/partials/home_info.html
+++ b/themes/PaperMod/layouts/partials/home_info.html
@@ -1,13 +1,11 @@
-{{- with site.Params.homeInfoParams }}
<article class="first-entry home-info">
<header class="entry-header">
<h1>{{ .Title | markdownify }}</h1>
</header>
<div class="entry-content">
- {{ .Content | markdownify }}
+ {{ .Content }}
</div>
<footer class="entry-footer">
- {{ partial "social_icons.html" (dict "align" site.Params.homeInfoParams.AlignSocialIconsTo) }}
+ {{ partial "social_icons.html" }}
</footer>
</article>
-{{- end -}}