mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-10 02:26:08 +01:00
Pagefind metadata updates
This commit is contained in:
parent
4e1e94c469
commit
e98080dabd
3 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||||
|
|
|
@ -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" }}
|
||||||
|
|
|
@ -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" . }}
|
||||||
|
|
Loading…
Reference in a new issue