mirror of
https://github.com/Brandon-Rozek/website.git
synced 2025-08-04 07:32:00 +00:00
12 lines
No EOL
452 B
JSON
12 lines
No EOL
452 B
JSON
{
|
|
"id": "{{ .Params.url }}",
|
|
"url": "{{ .Params.url }}",
|
|
"title": {{ .Title | jsonify }},
|
|
"authors": ["{{ .Params.author }}"],
|
|
{{ $pre := "<p><strong>Brandon's Comment:</strong></p>" }}
|
|
{{ $content := .Content }}
|
|
{{ $combined := printf "%s%s" $pre $content}}
|
|
{{ $combined := $combined | jsonify (dict "noHTMLEscape" true) }}
|
|
"content_html": {{ $combined }},
|
|
"date_published": "{{ .Date.Format "2006.01.02" }}"
|
|
} |