fix: feed + styles
This commit is contained in:
parent
70cb55926c
commit
c92cc85efd
6 changed files with 13 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "3.3.3",
|
||||
"version": "3.3.4",
|
||||
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
||||
"type": "module",
|
||||
"engines": {
|
||||
|
|
|
@ -57,7 +57,7 @@ SELECT
|
|||
m.review
|
||||
ELSE
|
||||
m.description
|
||||
END, 'image', m.image, 'rating', m.rating, 'date', m.last_watched)
|
||||
END, 'image', m.backdrop, 'rating', m.rating, 'date', m.last_watched)
|
||||
ELSE
|
||||
NULL
|
||||
END AS feed
|
||||
|
|
|
@ -87,7 +87,7 @@ CASE WHEN m.star_rating IS NOT NULL
|
|||
m.review
|
||||
ELSE
|
||||
m.description
|
||||
END, 'image', CONCAT('/', df.filename_disk), 'rating', m.star_rating)
|
||||
END, 'image', CONCAT('/', df2.filename_disk), 'rating', m.star_rating)
|
||||
ELSE
|
||||
NULL
|
||||
END AS feed
|
||||
|
|
|
@ -9,12 +9,18 @@ permalink: /assets/styles/feed.xsl
|
|||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
||||
<head>
|
||||
<title>
|
||||
<xsl:value-of select="/rss/channel/title" />
|
||||
<xsl:value-of select="/rss/channel/title" /> / {{ globals.site_name }}
|
||||
</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
|
||||
<meta name="color-scheme" content="light dark" />
|
||||
<link rel="stylesheet" href="/assets/styles/index.css" type="text/css" />
|
||||
<meta name="theme-color" content="{{ globals.theme_color }}" />
|
||||
<meta name="fediverse:creator" content="{{ globals.mastodon }}" />
|
||||
<meta name="generator" content="Eleventy" />
|
||||
<meta name="robots" content="noai, noimageai" />
|
||||
<link rel="preload" href="/assets/fonts/ml.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
|
||||
<link rel="preload" href="/assets/fonts/mlb.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
|
||||
<link rel="stylesheet" href="/assets/styles/index.css?v={% appVersion %}" type="text/css" />
|
||||
</head>
|
||||
<body class="feed">
|
||||
<div class="main-wrapper">
|
||||
|
|
|
@ -5,7 +5,7 @@ permalink: "/feeds/all.json"
|
|||
---
|
||||
{% render "feeds/json.liquid"
|
||||
permalink:"/feeds/all.json"
|
||||
title:"All / Cory Dransfeldt"
|
||||
title:"All activity / Cory Dransfeldt"
|
||||
globals:globals
|
||||
data:activity
|
||||
%}
|
|
@ -5,7 +5,7 @@ permalink: "/feeds/all"
|
|||
---
|
||||
{% render "feeds/rss.liquid"
|
||||
permalink:"/feeds/all"
|
||||
title:"All activity"
|
||||
title:"All activity feed"
|
||||
globals:globals
|
||||
data:activity
|
||||
%}
|
Reference in a new issue