I just recently started using Obsidian to manage my Work and Personal notes, and its pretty awesome. Obsidian is a powerful and extensible knowledge base that works on top of your local folder of plain text files.
Had a random thought this evening, and wondered if anyone had ever used Obsidian to manage their Hugo-Based Blog. Looks like there are a few, but each implementation seems to differ wildly.
So far I have done the following:
- Opened my existing git repo for the blog in Obsidian as a new Vault
- Renamed all of my Markdown files from .markdown to .md, so that Obsidian can identify them automatically.
- Created a _templates folder the root of my repo, and configured Obsidian to use that for Template storage
- Created a Post Template, that includes the following front-matter
---
title: "{{title}}"
slug: "{{title}}"
date: {{date}} {{time}}
author: "Mike Pruett"
draft: true
layout: post
comments: true
tags:
categories:
---
- Configured Obsidian to use my static/uploads folder for the Attachment Folder Path
- Configured Obsidian to use my content/posts folder for the place to store new notes
Still have some outstanding items to figure out…
- Hugo handing attachment (image) handling, as the normal way is to just use the /uploads/ folder
- Not sure how to translate Obsidian Front-Matter Categories and Tags to work with Hugo
So far though, I am really impressed!