Skip to content

Commit

Permalink
pass id to Post layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane98c committed Jan 7, 2025
1 parent 6f0d113 commit 71d8f9a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pages/blog/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const PostPage = ({ id, source, frontMatter, number }) => {
const components = useThemedStylesWithMdx(useMDXComponents())

return (
<Post meta={frontMatter} number={number}>
<Post meta={frontMatter} number={number} id={id}>
<MDXRemote
{...source}
components={{
Expand Down
11 changes: 11 additions & 0 deletions utils/post-metadata.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
// This file is auto-generated. Do not edit it manually.
const postMetadata = [
{
version: '1.0.0',
title: 'New data added to the Compliance Users tool',
authors: ['Freya Chay', 'Grayson Badgley'],
date: '12-19-2024',
summary:
'We updated the Compliance Users tool to include the latest available cap-and-trade program data about who used which offsets during the program’s fourth compliance period.',
card: 'compliance-users-v4',
id: 'compliance-users-v4',
number: 47,
},
{
version: '1.0.0',
title: 'Think twice before resurrecting burned offset projects',
Expand Down

0 comments on commit 71d8f9a

Please sign in to comment.