Hugo Publish

approved

by kirito

Publish your blog to hugo site.

58 stars2,474 downloadsUpdated 2mo ago
View on GitHub

Hugo Publish

This plugin helps you publish hugo blog through obsidian.

Features

This plugin will convert the .md file and related images in obsidian to the hugo site dir.

Conversion includes:

  • [[link.com]] -> [link.com](link.com)
  • [[link.com|alias-text]] -> [alias-text](link.com)
  • ![[xxx.png]] -> ![xxx.png](/${static_dir}/xx.png)
  • ![[xxx.png|200*100]] -> ![xxx.png](/${static_dir}/xx.png)
  • Auto write md's yaml header like: title,date,lastmod

How to use

  1. Complete the plugin settings: blog_tag,hugo_site...
  2. Set tags in obsidian's md as ${blog_tag}
  3. Click hugo sync button or run cmd Hugo Publish: Sync blog
  4. Enter the hugo site dir to run hugo server to check it

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.