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",
"version": "21.9.3",
"version": "21.9.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "coryd.dev",
"version": "21.9.3",
"version": "21.9.4",
"license": "MIT",
"dependencies": {
"@cdransf/api-text": "^1.4.0",

View file

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

View file

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