To use Obsidian for writing blog more convenient, I’d like to introduce some techniques.
Plugins#
Git#
We can use git for better management on blogs.
Just install the plugin and open a git-managed vault, this plugin works.

Templater#
To create a file with properties easily, I choose the plugin Templater.
I wrote a template .md such that:
---
title: <% tp.file.folder().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join(' ') %>
publishDate: <% tp.file.creation_date() %>
updatedDate: <% tp.file.last_modified_date() %>
description: A post about <% tp.file.folder().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join(' ') %>
tags:
- Draft
language: English
draft: true
---
markdownSo now the title and date will be generated automatically.
Settings#
Must change the settings of this:
