Skip to content

Commit

Permalink
Configure Open Graph
Browse files Browse the repository at this point in the history
- customise og:description using front-matter (purdue)
- move purdue figure beneath opening
- move portfolio figure beneath opening
  • Loading branch information
eidorb committed Nov 30, 2024
1 parent 6310689 commit e27e66d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 12 deletions.
14 changes: 9 additions & 5 deletions brodie.id.au/blog/purdue.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
```{post} 24 April, 2020
:author: Brodie Blackburn
```
---
blogpost: true
date: 24 April, 2020
author: Brodie Blackburn
# Include just the first line as description.
ogp_description_length: 56
---
# Purdue model

The [Purdue model](https://en.wikipedia.org/wiki/Purdue_Enterprise_Reference_Architecture) is not a security architecture model[^1].

```{figure} purdue.jpg
:alt: At least it does not identify as a Pie Ass Fuck?
Well, *technically*, it should identify as Purdue Level 3.15149 Pi As Fuck because it's a genderless XIoT device.
```

The [Purdue model](https://en.wikipedia.org/wiki/Purdue_Enterprise_Reference_Architecture) is not a security architecture model[^1].


## A brief history of networks

Expand Down
12 changes: 6 additions & 6 deletions brodie.id.au/blog/serverless-investment-management-portfolio.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
```
# Serverless investment management portfolio

```{figure} portfolio-demo.png
:alt: Index worksheet
[portfolio-demo.brodie.id.au](https://portfolio-demo.brodie.id.au)
```

I built a system that helps manage investments.

It does the following things:
Expand All @@ -23,6 +17,12 @@ It does the following things:
You can check out a demo with example data [here](https://portfolio-demo.brodie.id.au),
and view source code [here](https://github.com/eidorb/portfolio).

```{figure} portfolio-demo.png
:alt: Index worksheet
[portfolio-demo.brodie.id.au](https://portfolio-demo.brodie.id.au)
```


## Investment strategy

Expand Down
7 changes: 6 additions & 1 deletion brodie.id.au/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ["ablog", "sphinx.ext.intersphinx", "myst_nb"]
extensions = ["ablog", "sphinx.ext.intersphinx", "myst_nb", "sphinxext.opengraph"]

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
Expand Down Expand Up @@ -104,3 +104,8 @@
"ablog/archives.html",
],
}

# Open Graph (sphinxext.opengraph) config
ogp_site_url = "https://brodie.id.au/"
ogp_image = "_static/ambigram.png"
ogp_use_first_image = True

0 comments on commit e27e66d

Please sign in to comment.