diff --git a/src/layouts/HTML.astro b/src/layouts/HTML.astro index 457d483..452c98a 100644 --- a/src/layouts/HTML.astro +++ b/src/layouts/HTML.astro @@ -11,7 +11,7 @@ const album = await getAlbum(); const palette = getPalette(await getColors(album)); const { dominant, textColor, secondaryTextColor } = palette; -const { title: pageTitle, description } = Astro.props; +const { title: pageTitle, description, noindex } = Astro.props; let title = pageTitle ? `${pageTitle} / twofortyeight.net` @@ -45,6 +45,7 @@ let title = pageTitle {title} + {noindex && } {description && } diff --git a/src/pages/garden/[...slug].astro b/src/pages/garden/[...slug].astro index 9cf4a55..4c7f7e7 100644 --- a/src/pages/garden/[...slug].astro +++ b/src/pages/garden/[...slug].astro @@ -34,7 +34,11 @@ if (frontmatter.data.image) { const pubDate = dayjs(frontmatter.data.date); --- - +
{ @@ -64,7 +68,9 @@ const pubDate = dayjs(frontmatter.data.date); class="op-50 italic m-0 dt-published" datetime={pubDate.toISOString()} > - {pubDate.format("MMMM DD, YYYY").toLocaleLowerCase()} + last updated { + pubDate.format("MMMM DD, YYYY").toLocaleLowerCase() + }