Link Blog in a Static Site
rednafi.com
Link Blog in a Static Site
1–10 of 19 posts
Re: Link Blog in a Static Site
#2Re: Link Blog in a Static Site
#3On my personal site (also built with Hugo) I post images of food I have eaten and media I have consumed. I could use Instagram, Bluesky or X but I want the content to be mine and stay mine. And I am doing it because I like to blog things not because I want the interaction on social media. https://www.planetjones.net/food.html https://www.planetjones.net/reviews.html
Re: Link Blog in a Static Site
#4On my personal site (also built with Hugo) I post images of food I have eaten and media I have consumed. I could use Instagram, Bluesky or X but I want the content to be mine and stay mine. And I am doing it because I like to blog things not because I want the interaction on social media. https://www.planetjones.net/food.html https://www.planetjones.net/reviews.html
Re: Link Blog in a Static Site
#5Since I host with Netlify, I've written a lightweight Netlify function that looks at my Pinboard account for changes. If there are changes, it simply re-runs the static site build. During the build, Lektor, the static site generator, runs a custom plugin I've written that generates the link blog page from the Pinboard API.
Definitely more work than it was "worth", but as a person who doesn't get to write lots of code every day, it was a blast putting it all together.
Re: Link Blog in a Static Site
#6I generate the Bookmarks [1] section of my static site from the public bookmarks in my Pinboard account. Since I host with Netlify, I've written a lightweight Netlify function that looks at my Pinboard account for changes. If there are changes, it simply re-runs the static site build. During the build, Lektor, the static site generator, runs a custom plugin I've written that generates the link blog page from the Pinb…
1. polling for external changes somewhere
2. updating some pages on a static site (by incorporating the changes from step 1) and rebuilding it
is incredibly powerful. It allows us to make a static site behave almost like a read-only dynamic one. There needs to be a name for this—it’s hard to discuss it without one.
Re: Link Blog in a Static Site
#7I generate the Bookmarks [1] section of my static site from the public bookmarks in my Pinboard account. Since I host with Netlify, I've written a lightweight Netlify function that looks at my Pinboard account for changes. If there are changes, it simply re-runs the static site build. During the build, Lektor, the static site generator, runs a custom plugin I've written that generates the link blog page from the Pinb…
This pattern of: 1. polling for external changes somewhere 2. updating some pages on a static site (by incorporating the changes from step 1) and rebuilding it is incredibly powerful. It allows us to make a static site behave almost like a read-only dynamic one. There needs to be a name for this—it’s hard to discuss it without one.
Simon Willison groked the name « Baked Data »: even though it was in the context of Datasette (which requires a backend to run but the SQLite db is embedded and read-only), it is pretty safe the term can be applied for static websites also!
Re: Link Blog in a Static Site
#8On my personal site (also built with Hugo) I post images of food I have eaten and media I have consumed. I could use Instagram, Bluesky or X but I want the content to be mine and stay mine. And I am doing it because I like to blog things not because I want the interaction on social media. https://www.planetjones.net/food.html https://www.planetjones.net/reviews.html
Yeah, the whole point of this is tracking the progress of something, not vanity interaction. This is why I decided to leave it out of the main RSS feed to avoid spamming readers.
Yeah, most tools are built to support something different.
Re: Link Blog in a Static Site
#9I generate the Bookmarks [1] section of my static site from the public bookmarks in my Pinboard account. Since I host with Netlify, I've written a lightweight Netlify function that looks at my Pinboard account for changes. If there are changes, it simply re-runs the static site build. During the build, Lektor, the static site generator, runs a custom plugin I've written that generates the link blog page from the Pinb…
This pattern of: 1. polling for external changes somewhere 2. updating some pages on a static site (by incorporating the changes from step 1) and rebuilding it is incredibly powerful. It allows us to make a static site behave almost like a read-only dynamic one. There needs to be a name for this—it’s hard to discuss it without one.
[0]: https://garrido.io/notes/archiving-and-syndicating-mastodon-...
Re: Link Blog in a Static Site
#10I generate the Bookmarks [1] section of my static site from the public bookmarks in my Pinboard account. Since I host with Netlify, I've written a lightweight Netlify function that looks at my Pinboard account for changes. If there are changes, it simply re-runs the static site build. During the build, Lektor, the static site generator, runs a custom plugin I've written that generates the link blog page from the Pinb…
This pattern of: 1. polling for external changes somewhere 2. updating some pages on a static site (by incorporating the changes from step 1) and rebuilding it is incredibly powerful. It allows us to make a static site behave almost like a read-only dynamic one. There needs to be a name for this—it’s hard to discuss it without one.