This repository generates our blog.
- Create a directory for the blog post, under:
content/posts/<year>/<month>/<name>
- Name should be something short and descriptive, but doesn't need to b e the title of the post
- Create a file
content/posts/<year>/<month>/<name>/index.md. It MUST be calledindex.md - Write the post in
index.md. It needs to have a section at the start with the post's metadata (title, date, author, tags):
---
title: "This is the post title!"
date: 2023-10-15T10:05:31+01:00
author: "Brian Who?"
tags: ["Pi Wars 2024"]
description: "A subtitle which will show under the title"
---
## Normal markdown syntax
This is the syntax for highlighted python code:
```python
import sys
print(f"This is some example python code: {sys.argv=}")
```
You can use relative paths for images, so this one is in `content/posts/<year>/<month>/<name>/images`:

This is the syntax for embedding a tweet:
{{< tweet user="CannonFodder" id="1710628263830098268" >}}
When you push to the main branch, the blog is automatically re-generated,
and will be published at
https://brian-squared.github.io/www/