mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-12-04 14:50:24 +00:00
Cleaning up output format types for JSON
This commit is contained in:
parent
fc0e72ba14
commit
1c8179bae3
7 changed files with 35 additions and 38 deletions
8
layouts/_default/item.json.json
Normal file
8
layouts/_default/item.json.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"id": "{{ .Permalink }}",
|
||||
"url": "{{ .Permalink }}",
|
||||
"title": {{ .Title | jsonify }},
|
||||
"content_html": {{ .Content | jsonify }},
|
||||
"date_published": "{{ .Date.Format "2006.01.02" }}",
|
||||
"tags": {{ .Params.tags | jsonify }}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue