fix: now publishedOn empty

This commit is contained in:
Ayo Ayco 2025-02-11 19:25:51 +01:00
parent 2308c283ce
commit 9e177b5b52
2 changed files with 6 additions and 2 deletions

View file

@ -4,10 +4,12 @@ import Footer from '../../../../components/Footer.astro'
const title = `__title__`
const description = `__description__`
const publishedOn = `__publishedOn__`
let publishedOn = `__publishedOn__`
const publishDate = `__publishDate__`
const publishState = `__publishState__`
const content = `__content__`
publishedOn = publishedOn === '' ? publishDate : publishedOn
---
<Layout title={title} description={description}>

View file

@ -4,7 +4,7 @@ import Footer from '../../../../components/Footer.astro'
const title = `Binge-watching, playing, and recovering`
const description = ``
const publishedOn = ``
let publishedOn = ``
const publishDate = `2025-02-05`
const publishState = ``
const content = `<h2>Binge-watched <a href="https://www.netflix.com/tudum/articles/arcane-season-2-release-date-photos">Arcane season 2</a></h2>
@ -14,6 +14,8 @@ const content = `<h2>Binge-watched <a href="https://www.netflix.com/tudum/articl
<h2>This is progress</h2>
<p>After COVID and emigrating to The Netherlands (a different story by itself), I don't think I ever really had the headspace to enjoy these things. It's weird. I have been trying, but even watching a movie is not really enjoyable.</p>
<p>I think me being able to enjoy watching series and a game like this is progress. 2021 has caused a huge adjustment for me (bordering trauma). And I feel that this "progress" is further indication that I am recovering.</p>`
publishedOn = publishedOn === '' ? publishDate : publishedOn
---
<Layout title={title} description={description}>