Closed benbohmer closed 2 years ago
@benbohmer thanks creating this issue.
If you have problems migrating the tags, it should be possible to use the array syntax with square brackets inside TOML frontmatter, which should definitely work for Hugo, but I am not sure if Obsidian supports it as well:
+++
…
tags = ['.vimrc', 'plugins', 'spf13-vim', 'vim']
…
+++
…
See https://gohugo.io/content-management/front-matter/#example
However, you should be able to use the listed array syntax in Obsidians YAML frontmatter as well:
---
…
tags:
- four
- five
- six
…
---
…
See https://help.obsidian.md/Advanced+topics/YAML+front+matter
Obsidian allows tags: [tag1, tag2, tag3]
Hugo seems to only accept tags:
Could we check for this and modify accordingly?