fix: json formatting

This commit is contained in:
Cory Dransfeldt 2024-08-10 14:38:30 -07:00
parent 4e88184719
commit 32241e8780
No known key found for this signature in database
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "21.9.1", "version": "21.9.2",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "21.9.1", "version": "21.9.2",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@cdransf/api-text": "^1.4.0", "@cdransf/api-text": "^1.4.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "21.9.1", "version": "21.9.2",
"description": "The source for my personal site. Built using 11ty (and other tools).", "description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module", "type": "module",
"scripts": { "scripts": {

View file

@ -15,7 +15,7 @@
"title": "{{ entry.title | escape }}{%- if entry.authors %} via {{ entry.authors.name }}{%- endif %}{%- if entry.rating %} ({{ entry.rating }}){%- endif %}", "title": "{{ entry.title | escape }}{%- if entry.authors %} via {{ entry.authors.name }}{%- endif %}{%- if entry.rating %} ({{ entry.rating }}){%- endif %}",
"content_text": "{{ entry.excerpt | escape }}", "content_text": "{{ entry.excerpt | escape }}",
"date_published": "{{ entry.date | stringToRFC822Date }}" "date_published": "{{ entry.date | stringToRFC822Date }}"
}{%- if forloop.last == false %},{%- endif -%} }}{% if forloop.last == false %},{% endif %}
{%- endfor %} {%- endfor %}
] ]
} }