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> </blockquote>
{{ end }} {{ 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 }} {{ .Content }}
</div> </div>
</article> </article>

View file

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

View file

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