Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dashedstripes/obsidian-to-hugo

An Obsidian Plugin to export notes to Hugo
https://github.com/dashedstripes/obsidian-to-hugo

Last synced: 3 months ago
JSON representation

An Obsidian Plugin to export notes to Hugo

Awesome Lists containing this project

README

        

# Obsidian to Hugo

An Obsidian Plugin to export notes to Hugo.

## Motivation

My website is built using Hugo, however I do the majority of my writing in Obsidian. I wanted a way to easily export content from Obsidian to Hugo, whilst keeping my writing flow elegant, and not having to manually deal with any of the Hugo quirks.

## Usage

There is one setting for this plugin:

- `Hugo Directory`

The `Hugo Directory` is where you'd like to generate the markdown files. This is likely to be your `posts` folder in the Hugo file structure.

The tool knows to export your content if your note begins with hugo frontmatter. For example:

```markdown
This content will not be exported.
```

```markdown
---
publishdate: 2022-12-20
---

This content *will* be exported.

You should **not** include a title as your hugo frontmatter as this is generated automatically from the Obsidian note title. Manually adding a title may cause issues with note linking.
```