Member-only story
Automate Your Obsidian Publish Homepage with Dataview and Templater
How to create a dynamic homepage for your Obsidian Publish blog using Dataview, Templater, and a touch of CSS.
The Obsidian Publish Homepage Dilemma
Lately, I’ve spent some time customizing my blog. As I mentioned in a recent post (Starting Over with Obsidian — My Blog Finds a Home on Publish), Obsidian Publish has a few limitations. One of the most annoying is the lack of a native way to manage a dynamic homepage. What does that mean?
Simply put, if I want to display my latest published posts on the blog’s front page, I’d have to manually edit the page each time. Unless…
The Solution: Dataview and Templater
Unless you use a little trick. A trick suggested to me by Joschua’s enlightening post: Using Dataview on Obsidian Publish.
In a nutshell, we need two essential Obsidian plugins:
- Dataview, a live index and query engine over your personal knowledge base
- Templater, a template language that lets you insert variables and functions results into your notes