Skip to content

Commit

Permalink
Fixed up tagging, blogindex titles.
Browse files Browse the repository at this point in the history
  • Loading branch information
fusionandy committed Aug 14, 2023
1 parent 76f2773 commit 8cc61d9
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 15 deletions.
4 changes: 2 additions & 2 deletions astro/src/content/blog/announcing-fusionauth-1-47.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ title: Announcing FusionAuth 1.47
description: This update includes performance improvements, the ability to include preferred languages on the basic registration form, and SAMLv2 assertion encryption.
authors: Dan Moore
image: /img/blogs/release-1-47/fusionauth-1-47.png
categories: announcement
tags: release-announcement localization registration performance lambda connector http metrics saml
categories: Announcement
tags: release notes, localization, registration, performance, lambda, connector, http, metrics, saml
excerpt_separator: "{/* more */}"
---

Expand Down
2 changes: 1 addition & 1 deletion astro/src/content/blog/fusionauth-re-invent-2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: FusionAuth is going to AWS re:Invent. Stop by and see us!
authors: Dan Moore
image: /img/blogs/fusionauth-aws-reinvent-2021/see-you-at-aws-reinvent-header-image.png
categories: announcement
tags: conference aws-re-invent
tags: conference, aws-re-invent
excerpt_separator: "{/* more */}"
---

Expand Down
4 changes: 2 additions & 2 deletions astro/src/layouts/BlogIndex.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import SubscribeFooter from '../components/SubscribeFooterCTA.astro';
import Icon from '../components/icon/Icon.astro';
import { getHref, getLatestDateString, parseContent } from '../pages/blog/blog-tools';
const { section, sectionTitle, subjectRef, subjectName, page, showCategories, path, personalLink } = Astro.props;
const { title, section, sectionTitle, subjectRef, subjectName, page, showCategories, path, personalLink } = Astro.props;
const blogs = page.data.map(parseContent);
const first = blogs[0];
const theRest = blogs.slice(1, blogs.length);
Expand Down Expand Up @@ -43,7 +43,7 @@ const getPaginationRef = (stop) => {
}
---
<html class="antialiased" lang="en">
<HeadComponent/>
<HeadComponent title={title}/>
<body class="antialiased leading-tight">
<Nav/>
<section class="container mb-14 mx-auto px-7 md:mb-20 md:mt-7 lg:mt-9 xl:mt-14 2xl:mb-24 2xl:mt-10">
Expand Down
5 changes: 3 additions & 2 deletions astro/src/pages/blog/author/[author]/[...page].astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ export async function getStaticPaths({ paginate }) {
const { page, authorName } = Astro.props;
const { author } = Astro.params;
---
<Layout section="author"
<Layout title={"Posts authored by " + authorName}
section="author"
sectionTitle="Posts By"
subjectRef={author}
subjectName={authorName}
page={page}
showCategories={true}
personalLink={{text: AUTHORS[authorName]?.linkText, href: AUTHORS[authorName]?.linkUrl}}/>
personalLink={{text: AUTHORS[authorName]?.linkText, href: AUTHORS[authorName]?.linkUrl}}/>
5 changes: 3 additions & 2 deletions astro/src/pages/blog/author/[author]/[page].astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ export async function getStaticPaths({ paginate }) {
const { page, authorName } = Astro.props;
const { author } = Astro.params;
---
<Layout section="author"
<Layout title={"Posts authored by " + authorName}
section="author"
sectionTitle="Posts By"
subjectRef={author}
subjectName={authorName}
page={page}
showCategories={true}
personalLink={{text: AUTHORS[authorName]?.linkText, href: AUTHORS[authorName]?.linkUrl}}/>
personalLink={{text: AUTHORS[authorName]?.linkText, href: AUTHORS[authorName]?.linkUrl}}/>
3 changes: 2 additions & 1 deletion astro/src/pages/blog/category/[category]/[...page].astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export async function getStaticPaths({ paginate }) {
const { page, categoryName } = Astro.props;
const { category } = Astro.params;
---
<Layout section="category"
<Layout title={categoryName + " posts"}
section="category"
sectionTitle="Categories"
subjectRef={category}
subjectName={categoryName}
Expand Down
3 changes: 2 additions & 1 deletion astro/src/pages/blog/category/[category]/[page].astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export async function getStaticPaths({ paginate }) {
const { page, categoryName } = Astro.props;
const { category } = Astro.params;
---
<Layout section="category"
<Layout title={categoryName + " posts"}
section="category"
sectionTitle="Categories"
subjectRef={category}
subjectName={categoryName}
Expand Down
5 changes: 3 additions & 2 deletions astro/src/pages/blog/latest/[...page].astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ export async function getStaticPaths({ paginate }) {
const { page } = Astro.props;
---
<Layout section="latest"
<Layout title="Latest blog posts"
section="latest"
sectionTitle="Blogs"
subjectName="Latest Posts"
page={page}
showCategories={false}/>
showCategories={false}/>
3 changes: 2 additions & 1 deletion astro/src/pages/blog/tag/[tag]/[...page].astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export async function getStaticPaths({ paginate }) {
const { page, tagName } = Astro.props;
const { tag } = Astro.params;
---
<Layout section="tag"
<Layout title={tagName + " posts"}
section="tag"
sectionTitle="Tags"
subjectRef={tag}
subjectName={tagName}
Expand Down
3 changes: 2 additions & 1 deletion astro/src/pages/blog/tag/[tag]/[page].astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export async function getStaticPaths({ paginate }) {
const { page, tagName } = Astro.props;
const { tag } = Astro.params;
---
<Layout section="tag"
<Layout title={tagName + " posts"}
section="tag"
sectionTitle="Tags"
subjectRef={tag}
subjectName={tagName}
Expand Down

0 comments on commit 8cc61d9

Please sign in to comment.