Alternative content (RSS, (offline) JSON), social media partial
This commit is contained in:
12
themes/basic/layouts/projects/list.json
Normal file
12
themes/basic/layouts/projects/list.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"projects": [
|
||||
{{- range $index, $page := (where .Site.RegularPages "Type" "in" "projects") }}
|
||||
{{- if $index -}} , {{- end }}
|
||||
{
|
||||
"url": {{ .Permalink | jsonify }},
|
||||
"title": {{ .Title | jsonify }},
|
||||
"keywords": {{ delimit .Keywords ", " | jsonify }}
|
||||
}
|
||||
{{- end }}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user