Pagefind metadata updates

This commit is contained in:
JP Hastings-Spital 2023-09-13 07:09:44 +01:00
parent 4e1e94c469
commit e98080dabd
3 changed files with 3 additions and 3 deletions

View file

@ -83,7 +83,7 @@
</blockquote>
{{ end }}
<div class="post-content e-content" data-pagefind-body data-pagefind-filter="type:{{.Type}}">
<div class="post-content e-content" data-pagefind-body data-pagefind-filter="type:{{.Type | title}}">
{{ .Content }}
</div>
</article>

View file

@ -10,7 +10,7 @@
</h1>
{{ if .Content }}
<div class="content">{{ .Content }}</div>
<div class="content" data-pagefind-body>{{ .Content }}</div>
{{ end }}
{{ range $paginator.Pages.GroupByDate "2006" }}

View file

@ -1,7 +1,7 @@
{{ define "main" }}
<main class="post instagram">
<article>
<div class="post-content">
<div class="post-content" data-pagefind-body data-pagefind-filter="type:Photos">
<div class="instagram-media">
{{ range .Params.Media }}
{{ partial "imgorvid.html" . }}