chore: formatting

This commit is contained in:
Cory Dransfeldt 2024-08-10 14:43:09 -07:00
parent 3f7eb184b1
commit 189c5b90d5
No known key found for this signature in database
3 changed files with 14 additions and 14 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "21.9.3", "version": "21.9.4",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "21.9.3", "version": "21.9.4",
"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.3", "version": "21.9.4",
"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

@ -1,21 +1,21 @@
{ {
"version": "https://jsonfeed.org/version/1", "version": "https://jsonfeed.org/version/1",
"title": "{{ title }}", "title": "{{ title | escape }}",
"home_page_url": "{{ permalink | absoluteUrl: globals.url }}", "home_page_url": "{{ permalink | absoluteUrl: globals.url | escape }}",
"feed_url": "{{ permalink | absoluteUrl: globals.url }}.json", "feed_url": "{{ permalink | absoluteUrl: globals.url | escape }}.json",
"description": "{{ description }}", "description": "{{ description | escape }}",
"icon": "https://cdn.coryd.dev/{{ globals.feed_image }}?class=w200&v={% appVersion %}", "icon": "https://cdn.coryd.dev/{{ globals.feed_image | escape }}?class=w200&v={% appVersion %}",
"favicon": "https://cdn.coryd.dev/{{ globals.favicon_ico }}?class=w50&v={% appVersion %}", "favicon": "https://cdn.coryd.dev/{{ globals.favicon_ico | escape }}?class=w50&v={% appVersion %}",
"items": [ "items": [
{%- assign entries = data | normalizeEntries: 20 -%} {%- assign entries = data | normalizeEntries: 20 -%}
{%- for entry in entries -%} {%- for entry in entries -%}
{ {
"id": "{{ entry.url | encodeAmp }}", "id": "{{ entry.url | encodeAmp | escape }}",
"url": "{{ entry.url | encodeAmp }}", "url": "{{ entry.url | encodeAmp | escape }}",
"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 | escape }}{%- endif %}{%- if entry.rating %} ({{ entry.rating | escape }}){%- endif %}",
"content_text": "{{ entry.excerpt | escape }}", "content_text": "{{ entry.excerpt | escape | replace: '\"', '\\"' }}",
"date_published": "{{ entry.date | stringToRFC822Date }}" "date_published": "{{ entry.date | stringToRFC822Date }}"
}}{% if forloop.last == false %},{% endif %} }{% if forloop.last == false %},{% endif %}
{%- endfor %} {%- endfor %}
] ]
} }