this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

๐Ÿ› Improve work titles

+7 -6
+4 -4
src/components/WorksGrid.astro
··· 112 112 <h2> 113 113 <Translated 114 114 fr={ 115 - content.fr?.title ?? 116 - content.default?.title ?? 115 + content.fr?.title || 116 + content.default?.title || 117 117 id 118 118 } 119 119 en={ 120 - content.en?.title ?? 121 - content.default?.title ?? 120 + content.en?.title || 121 + content.default?.title || 122 122 id 123 123 } 124 124 />
+3 -2
src/pages/works/[work].astro
··· 45 45 if (!entry) return Astro.rewrite("/404"); 46 46 47 47 const { 48 + id, 48 49 metadata, 49 50 metadata: { tags, wip, colors, additionalMetadata: misc }, 50 51 } = entry.data; ··· 95 96 title={titleStyle === "image" && firstMediaBlock 96 97 ? { img: imageAttrs(firstMediaBlock) } 97 98 : { 98 - fr: content.fr?.title ?? content.default?.title, 99 - en: content.en?.title ?? content.default?.title, 99 + fr: content.fr?.title || content.default?.title || id, 100 + en: content.en?.title || content.default?.title || id, 100 101 }} 101 102 wip={wip} 102 103 >