mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-10-10 18:41:13 +00:00
🐭 Add full-text search function
This commit is contained in:
parent
a03100c42e
commit
22ea99a2d0
17 changed files with 4411 additions and 5 deletions
9
layouts/_default/list.json
Normal file
9
layouts/_default/list.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
[{{ range $index, $page := .Pages }}{{ if ne $index 0 }},{{ end }}
|
||||
{
|
||||
"ref": "{{ $page.Permalink }}",
|
||||
"title": {{ $page.Title | jsonify }},
|
||||
"section": "{{ $page.Section }}",
|
||||
"date" : {{ $page.Date.Format "2006.01.02" | jsonify }},
|
||||
"body": {{ $page.Plain | jsonify }}
|
||||
}
|
||||
{{ end }}]
|
Loading…
Add table
Add a link
Reference in a new issue