chore(recent-activity.liquid): carry featured post marker over to recent activity
This commit is contained in:
parent
4cf80298ef
commit
22e8d1b126
4 changed files with 26 additions and 18 deletions
34
package-lock.json
generated
34
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "1.1.12",
|
||||
"version": "1.2.12",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "coryd.dev",
|
||||
"version": "1.1.12",
|
||||
"version": "1.2.12",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"minisearch": "^7.1.2",
|
||||
|
@ -1046,14 +1046,14 @@
|
|||
"license": "MIT"
|
||||
},
|
||||
"node_modules/cacheable": {
|
||||
"version": "1.8.9",
|
||||
"resolved": "https://registry.npmjs.org/cacheable/-/cacheable-1.8.9.tgz",
|
||||
"integrity": "sha512-FicwAUyWnrtnd4QqYAoRlNs44/a1jTL7XDKqm5gJ90wz1DQPlC7U2Rd1Tydpv+E7WAr4sQHuw8Q8M3nZMAyecQ==",
|
||||
"version": "1.8.10",
|
||||
"resolved": "https://registry.npmjs.org/cacheable/-/cacheable-1.8.10.tgz",
|
||||
"integrity": "sha512-0ZnbicB/N2R6uziva8l6O6BieBklArWyiGx4GkwAhLKhSHyQtRfM9T1nx7HHuHDKkYB/efJQhz3QJ6x/YqoZzA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"hookified": "^1.7.1",
|
||||
"keyv": "^5.3.1"
|
||||
"hookified": "^1.8.1",
|
||||
"keyv": "^5.3.2"
|
||||
}
|
||||
},
|
||||
"node_modules/call-bind-apply-helpers": {
|
||||
|
@ -1084,9 +1084,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/caniuse-lite": {
|
||||
"version": "1.0.30001709",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001709.tgz",
|
||||
"integrity": "sha512-NgL3vUTnDrPCZ3zTahp4fsugQ4dc7EKTSzwQDPEel6DMoMnfH2jhry9n2Zm8onbSR+f/QtKHFOA+iAQu4kbtWA==",
|
||||
"version": "1.0.30001712",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001712.tgz",
|
||||
"integrity": "sha512-MBqPpGYYdQ7/hfKiet9SCI+nmN5/hp4ZzveOJubl5DTAMa5oggjAuoi0Z4onBpKPFI2ePGnQuQIzF3VxDjDJig==",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
{
|
||||
|
@ -1825,9 +1825,9 @@
|
|||
"license": "MIT"
|
||||
},
|
||||
"node_modules/electron-to-chromium": {
|
||||
"version": "1.5.130",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.130.tgz",
|
||||
"integrity": "sha512-Ou2u7L9j2XLZbhqzyX0jWDj6gA8D3jIfVzt4rikLf3cGBa0VdReuFimBKS9tQJA4+XpeCxj1NoWlfBXzbMa9IA==",
|
||||
"version": "1.5.132",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.132.tgz",
|
||||
"integrity": "sha512-QgX9EBvWGmvSRa74zqfnG7+Eno0Ak0vftBll0Pt2/z5b3bEGYL6OUXLgKPtvx73dn3dvwrlyVkjPKRRlhLYTEg==",
|
||||
"dev": true,
|
||||
"license": "ISC"
|
||||
},
|
||||
|
@ -2111,15 +2111,15 @@
|
|||
"license": "MIT"
|
||||
},
|
||||
"node_modules/flat-cache": {
|
||||
"version": "6.1.7",
|
||||
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.7.tgz",
|
||||
"integrity": "sha512-qwZ4xf1v1m7Rc9XiORly31YaChvKt6oNVHuqqZcoED/7O+ToyNVGobKsIAopY9ODcWpEDKEBAbrSOCBHtNQvew==",
|
||||
"version": "6.1.8",
|
||||
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.8.tgz",
|
||||
"integrity": "sha512-R6MaD3nrJAtO7C3QOuS79ficm2pEAy++TgEUD8ii1LVlbcgZ9DtASLkt9B+RZSFCzm7QHDMlXPsqqB6W2Pfr1Q==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"cacheable": "^1.8.9",
|
||||
"flatted": "^3.3.3",
|
||||
"hookified": "^1.7.1"
|
||||
"hookified": "^1.8.1"
|
||||
}
|
||||
},
|
||||
"node_modules/flatted": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "1.1.12",
|
||||
"version": "1.2.12",
|
||||
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
||||
"type": "module",
|
||||
"engines": {
|
||||
|
|
|
@ -5,6 +5,7 @@ WITH activity_data AS (
|
|||
p.title,
|
||||
p.content AS description,
|
||||
p.url AS url,
|
||||
p.featured AS featured,
|
||||
NULL AS author,
|
||||
NULL AS image,
|
||||
NULL AS rating,
|
||||
|
@ -24,6 +25,7 @@ WITH activity_data AS (
|
|||
l.title,
|
||||
l.description,
|
||||
l.link AS url,
|
||||
NULL AS featured,
|
||||
l.author,
|
||||
NULL AS image,
|
||||
NULL AS rating,
|
||||
|
@ -45,6 +47,7 @@ WITH activity_data AS (
|
|||
) AS title,
|
||||
b.description,
|
||||
b.url AS url,
|
||||
NULL AS featured,
|
||||
NULL AS author,
|
||||
b.image,
|
||||
b.rating,
|
||||
|
@ -67,6 +70,7 @@ WITH activity_data AS (
|
|||
) AS title,
|
||||
m.description,
|
||||
m.url AS url,
|
||||
NULL AS featured,
|
||||
NULL AS author,
|
||||
m.image,
|
||||
m.rating,
|
||||
|
@ -87,6 +91,7 @@ WITH activity_data AS (
|
|||
CONCAT(c.artist->>'name', ' at ', c.venue->>'name_short') AS title,
|
||||
c.concert_notes AS description,
|
||||
NULL AS url,
|
||||
NULL AS featured,
|
||||
NULL AS author,
|
||||
NULL AS image,
|
||||
NULL AS rating,
|
||||
|
|
|
@ -12,6 +12,9 @@
|
|||
{%- for item in items -%}
|
||||
<article class="{{ item.type }}">
|
||||
<aside>
|
||||
{%- if item.featured -%}
|
||||
{% tablericon "star" %}
|
||||
{%- endif -%}
|
||||
<time datetime="{{ item.content_date }}">
|
||||
{{ item.content_date | date:"%B %e, %Y" }}
|
||||
</time>
|
||||
|
|
Loading…
Reference in a new issue