Removing URL prefix for local URLs in blog posts

This commit is contained in:
Brandon Rozek 2022-12-18 12:25:45 -05:00
parent b02794d677
commit 6dc8bfbb89
No known key found for this signature in database
GPG key ID: 26E457DA82C9F480
21 changed files with 23 additions and 23 deletions

View file

@ -5,7 +5,7 @@ draft: false
tags: ["Hugo", "Mastodon", "Archive"]
math: false
---
In the spirit of [syndicating Mastodon toots](https://brandonrozek.com/blog/why-i-pesos-from-mastodon/)
In the spirit of [syndicating Mastodon toots](/blog/why-i-pesos-from-mastodon/)
to my own site, I wrote a Python script that turns toots into Hugo markdown
files.
@ -32,7 +32,7 @@ https://fosstodon.org/api/v1/accounts/108219415927856966
By default, this will return 20 statuses in an array.
To see how to parse each individual status, check out my
post on [displaying a single toot](https://brandonrozek.com/blog/displaying-a-toot-hugo/).
post on [displaying a single toot](/blog/displaying-a-toot-hugo/).
You can use the limit parameter to set how many statuses you wish to see.
The maximum number you can set it to is 40.