before implementing search
This commit is contained in:
10
themes/fiscleconsult/layouts/category/list.json
Normal file
10
themes/fiscleconsult/layouts/category/list.json
Normal file
@@ -0,0 +1,10 @@
|
||||
[
|
||||
{{ range $index, $value := where .Site.Pages "Type" "post" }}
|
||||
{{ if $index }}, {{ end }}
|
||||
{
|
||||
"url": "{{ .RelPermalink }}",
|
||||
"title": "{{ .Title }}",
|
||||
"content": {{ .Content | plainify | jsonify }}
|
||||
}
|
||||
{{ end }}
|
||||
]
|
Reference in New Issue
Block a user