mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 01:35:56 +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>
|
||||
{{ 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>
|
||||
|
|
|
@ -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" }}
|
||||
|
|
|
@ -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" . }}
|
||||
|
|
Loading…
Reference in a new issue