File tree Expand file tree Collapse file tree
components/Layout/Markdown/Tags Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ const resolveTagMeta = (rawTag: string) => {
5858 href = { href }
5959 rel = " tag"
6060 itemprop = " keywords"
61- class = " inline-block px -2 py-0.5 bg-page-active rounded text-xs no-underline transition-colors hover:bg-spotlight hover: text-primary focus:bg-spotlight focus:text-primary "
61+ class = " uppercase inline-block pr -2 sm:pr-3 py-0.5 text-xs sm: text-sm no-underline transition-colors hover:text-secondary focus:bg-spotlight focus:text-secondary "
6262 >
6363 { label }
6464 </a >
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ coverAlt: "Hero image for Markdown page test fixture"
66author : " kevin-brown"
77publishDate : 2024-01-01
88modifiedDate : 2025-06-29
9- tags : ["systems-and-development"]
9+ tags : ["systems-and-development", "build-and-deploy" ]
1010isDraft : true
1111---
1212import Demo from ' @components/Test/Demo.mdx'
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import type { MarkdownHeading } from 'astro'
99import BaseLayout from ' @layouts/BaseLayout.astro'
1010import Lead from ' @components/Layout/Markdown/Lead/index.astro'
1111import Subtitle from ' @components/Layout/Markdown/Subtitle/index.astro'
12+ import Tags from ' @components/Layout/Markdown/Tags/index.astro'
1213import Title from ' @components/Layout/Markdown/Title/index.astro'
1314import Toc from ' @components/Toc/index.astro'
1415
@@ -131,6 +132,11 @@ const shouldRenderToc = showToc !== false && tocHeadings.length > 0
131132 aria-labelledby =" article-title"
132133 >
133134 <header class =" mb-4 sm:mb-6" >
135+ { tags && tags .length > 0 && (
136+ <div class = " mb-2" >
137+ <Tags tags = { tags } />
138+ </div >
139+ )}
134140 <Title pageTitle ={ pageTitle } />
135141 { subtitle && <Subtitle subtitle = { subtitle } />}
136142 {
You can’t perform that action at this time.
0 commit comments