fix: feed title spacing

This commit is contained in:
Cory Dransfeldt 2024-07-01 10:32:16 -07:00
parent d35594c203
commit 2aa3af7c93
No known key found for this signature in database
3 changed files with 5 additions and 5 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "19.8.1", "version": "19.8.2",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "19.8.1", "version": "19.8.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": "19.8.1", "version": "19.8.2",
"description": "The source for my personal site. Built using 11ty.", "description": "The source for my personal site. Built using 11ty.",
"type": "module", "type": "module",
"scripts": { "scripts": {

View file

@ -18,8 +18,8 @@
{% assign rating = entry.rating %} {% assign rating = entry.rating %}
{%- capture entryTitle -%} {%- capture entryTitle -%}
{{ entry.title | escape }} {{ entry.title | escape }}
{%- if entry.authors -%} via {{ entry.authors.name }}{%- endif -%} {%- if entry.authors %} via {{ entry.authors.name }}{%- endif -%}
{%- if rating -%} ({{ rating }}){%- endif -%} {%- if rating %} ({{ rating }}){%- endif -%}
{%- endcapture -%} {%- endcapture -%}
<item> <item>
<title>{{ entryTitle }}</title> <title>{{ entryTitle }}</title>