From 5aeb912931ca96c1ad2f4413cd4ca25310fc0f2e Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Fri, 29 Apr 2022 12:54:17 -0500 Subject: [PATCH] Add ids to headings --- src/components/listing-parts/heading.astro | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/listing-parts/heading.astro b/src/components/listing-parts/heading.astro index f555d06..290155f 100644 --- a/src/components/listing-parts/heading.astro +++ b/src/components/listing-parts/heading.astro @@ -1,9 +1,13 @@ --- +import { makeSlug } from '~/helpers/slug.js' + const { text } = Astro.props - --- -

+

{ text }