Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

done #7 #22

Merged
merged 1 commit into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions content/blog/introduction/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: Introducing our new initiative... Simply Synbio!
date: "2024-02-05"
description: "Our New Initiative"
frontImage: "team-photo.jpg"
author: "Yejin Lhee"
---

Hello from our Human Practices (HP) team members of UBC iGEM 2024!
Expand Down
2 changes: 2 additions & 0 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ const BlogIndex = ({ data, location }) => {
<span itemProp="headline">{title}</span>
</Link>
</h2>
<p><b><i>{post.frontmatter.author}</i></b></p>
<small>{post.frontmatter.date}</small>
</header>
</Center>
Expand Down Expand Up @@ -117,6 +118,7 @@ export const pageQuery = graphql`
date(formatString: "MMMM DD, YYYY")
title
description
author
frontImage {
childImageSharp {
gatsbyImageData(placeholder: NONE, formats: [AUTO, WEBP])
Expand Down
2 changes: 2 additions & 0 deletions src/templates/blog-post.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const BlogPostTemplate = ({
>
<header>
<h1 itemProp="headline">{post.frontmatter.title}</h1>
<p><i>{post.frontmatter.author}</i></p>
<p>{post.frontmatter.date}</p>
</header>
<section
Expand Down Expand Up @@ -88,6 +89,7 @@ export const pageQuery = graphql`
frontmatter {
title
date(formatString: "MMMM DD, YYYY")
author
description
}
}
Expand Down