Skip to content

Commit db057aa

Browse files
committed
Remove Footer markdown Layout and related 'section' prop
1 parent 847b0ac commit db057aa

8 files changed

Lines changed: 2 additions & 26 deletions

File tree

‎.vscode/settings.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"FNAME",
3737
"fosstodon",
3838
"FOUC",
39+
"fprintf",
3940
"glidejs",
4041
"gomodule",
4142
"GSAP",

‎src/components/Layout/Markdown/Footer/index.astro‎

Lines changed: 0 additions & 14 deletions
This file was deleted.

‎src/content/articles/demo/index.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ It's about providing a full environment, process and automation, for developers
180180

181181
I describe it as making internal devops products. I try to promote sound architecture, frequent deploys, data-driven ops and code as documentation into processes and opinionated tooling for our devs. I try to collect feedback and measure usage of those tools. Much like I would if I was selling a public SaaS.
182182

183-
platform eng as a team that provides holistic solutions including monitoring and alerting and uptime, working wtih eng teams to tune the solution apose to tayloring the solutions.
183+
platform eng as a team that provides holistic solutions including monitoring and alerting and uptime, working with eng teams to tune the solution.
184184

185185
Example the platform eng team does everything in K8's, so when u build ur app make sure it runs on k8's.
186186

‎src/layouts/MarkdownLayout.astro‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import type { MarkdownHeading } from 'astro'
66
* Layout for Markdown/MDX content files
77
*/
88
import BaseLayout from '@layouts/BaseLayout.astro'
9-
import Footer from '@components/Layout/Markdown/Footer/index.astro'
109
import Lead from '@components/Layout/Markdown/Lead/index.astro'
1110
import Subtitle from '@components/Layout/Markdown/Subtitle/index.astro'
1211
import Title from '@components/Layout/Markdown/Title/index.astro'
@@ -50,8 +49,6 @@ export interface Props {
5049
modifiedDate?: Date
5150
/** Author name */
5251
author?: string
53-
/** Article section/category */
54-
section?: string
5552
/** Article tags */
5653
tags?: string[]
5754
/** Meta description */
@@ -75,7 +72,6 @@ const {
7572
publishDate,
7673
modifiedDate,
7774
author,
78-
section,
7975
tags,
8076
description,
8177
image,
@@ -98,7 +94,6 @@ const baseLayoutProps = {
9894
...(publishDate && { publishDate }),
9995
...(modifiedDate && { modifiedDate }),
10096
...(author && { author }),
101-
...(section && { section }),
10297
...(tags && { tags }),
10398
...(description && { description }),
10499
...(image && { image }),
@@ -152,8 +147,6 @@ const shouldRenderToc = showToc !== false && tocHeadings.length > 0
152147

153148
{/** SLOT: after-content, includes social shares and web mentions */}
154149
<slot name="after-content" />
155-
156-
{section && <Footer section={section} />}
157150
</article>
158151

159152
{/** SLOT: related-content, renders a suggested content carousel */}

‎src/pages/articles/[...slug].astro‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ const authorId =
3737
collectionItem={article}
3838
publishDate={article.data.publishDate}
3939
author={authorId}
40-
section="Technology"
4140
tags={article.data.tags}
4241
description={article.data.description}
4342
{...(cover?.src && { image: cover.src })}

‎src/pages/case-studies/[slug].astro‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ const cover = caseStudy.data.image
2929
contentType="article"
3030
collectionItem={caseStudy}
3131
publishDate={caseStudy.data.publishDate}
32-
section="Case Studies"
3332
tags={caseStudy.data.tags}
3433
{...(caseStudy.data.description && { description: caseStudy.data.description })}
3534
{...(cover?.src && { image: cover.src })}

‎src/pages/downloads/[...slug].astro‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ const authorId =
3636
collectionItem={download}
3737
publishDate={download.data.publishDate}
3838
author={authorId}
39-
section="Resources"
4039
tags={download.data.tags}
4140
description={download.data.description}
4241
{...(cover?.src && { image: cover.src })}

‎src/pages/services/[slug].astro‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ const icon = service.data.icon ? { src: service.data.icon, alt: service.data.tit
2525
contentType="article"
2626
collectionItem={service}
2727
publishDate={service.data.publishDate}
28-
section="Services"
2928
tags={service.data.tags}
3029
{...(service.data.description && { description: service.data.description })}
3130
{...(icon?.src && { image: icon.src })}

0 commit comments

Comments
 (0)