This is the repo for my personal website, jmulholland.com.
- Gatsby (using React)
- Styled Components
- Clone the repo
yarn install
yarn dev
- Auto-deploys to Netlify on merge to main.
- Netlify also generates a preview build for each PR.
- Create a new
.mdx
file incontent/posts
- Add frontmatter with the following fields:
---
title: 'My blog post'
date: '2019-05-04'
---
- Create a new
.mdx
file incontent/notes
- Add frontmatter with the following fields:
---
title: 'Title here'
lastUpdated: '2021-09-20'
tags: ['Tag One', 'Tag Two']
---
- Create a new
.mdx
file incontent/pages
- Add frontmatter with the following fields:
---
title: 'About'
---
- Add an image in the same directory as the markdown post
- Link to in the markdown like so:
![my-caption-alt](my-image-in-same-folder.jpg)
This site uses
gatsby-plugin-twitter
to enable the embedding of Tweets. To embed a tweet, select the ∨
dropdown on a tweet, follow the links to copy the embed markup and
paste only the blockquote section (not the script). For example:
<blockquote class='twitter-tweet'>
<p lang='en' dir='ltr'>
React is Legos for adults
</p>
— Guillermo Rauch (@rauchg) <a href='https://twitter.com/rauchg/status/1068183829737664512?ref_src=twsrc%5Etfw'>November 29, 2018</a>
</blockquote>
When adding blockquotes, use an inline HTML footer to add a source.
> To be, or not to be? That is the question.
>
> <footer>Hamlet</footer>
- Add
.full-width
class