Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dashedstripes/obsidian-to-hugo
- Owner: dashedstripes
- Created: 2022-12-17T23:53:17.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-14T17:14:22.000Z (almost 2 years ago)
- Last Synced: 2024-05-23T01:31:50.568Z (6 months ago)
- Language: TypeScript
- Homepage: https://www.adamgray.dev/notes/obsidian-as-a-cms/
- Size: 240 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- project-awesome - dashedstripes/obsidian-to-hugo - An Obsidian Plugin to export notes to Hugo (TypeScript)
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.
```