HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
kaushalmodi
ox-hugo
Emacs Lisp2017–2023
kaushalmodi / ox-hugo

ox-hugo

A carefully crafted Org exporter back-end for Hugo

2Distinct people
7Mentions
1Explicit recommenders
948GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A carefully crafted Org exporter back-end for Hugo

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

Shameless plug: https://ox-hugo.netlify.com I just announced the ox-hugo package. I love the blogging framework of Hugo, but disliked that I needed to manually take care of the…

kaushalmodi used a recommendation phrase. One indexed comment matches. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 9–Nov 16 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/16/2026, 7:27:27 AM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year7 dated mentions

Observed mentions: 2017-08-20 23:23:09 UTC to 2023-07-13 16:41:17 UTC.

01232017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20172018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC202
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC303
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC000
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC000
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC000
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC101
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101

What Hacker News says

3 sources
Tooting my own horn, if you love living in Org mode, and are willing to try out Hugo (https://gohugo.io), I have an Org exporter package ox-hugo that exports to Markdown + required front-matter for Hugo. The package is even more magic if you choose to use a single Org file to export to multiple posts/pages. Few examples: 1. ox-hugo documentation site from one file[1], source[2] 2. My blog[3] 3. ox-hugo test site (300+ test pages and counting)[4] [1]: https://ox-hugo.scripter.co/ [2]: https://github.com/kaushalmodi/ox-hugo/raw/master/doc/ox-hug... [3]: https://scripter.co/ [4]: https://ox-hugo.scripter.co/test/
In Literate Devops with Emacs Org-Mode (2014)
> I haven't used Lisp so I'm not sure of how similar they are. As I said, I can see the syntax to be easy to grasp for anyone knowing any coding language. But Lisp fans would be in for a treat. In very simple terms, a list function always had the function symbol or identifier as the first element of a list (everything is a list in Lisp), and any number of arguments have to follow after that. Example of an add function in Lisp: (add 1 2) The same thing in Go templates: {{ add 1 2 }} > Org mode support seems to be interesting. I've always wanted to pick that up as well. Could you share some good resources you might be aware of? If you use Emacs, the best Org reference is the Org Info manual. Do `C-h i` to open info within Emacs and jump to the Org manual. (You probably aren't using Emacs as you mentioned that you are not familiar
Read the rest
with Lisp. So may be this tidbit helps someone else). If not using Emacs, - Check out the section on Markup[1] in the official Org manual in HTML. - My blog source in Org[2] - Source of ox-hugo.scripter.co website (100% of the content) from this one Org file [3] If you don't want to get into too much detail: * Heading level 1 ** Heading level 2, and so on *bold* /italics/ _underline_ +strikethrough+ - list item 1 - list item 2 1. ordered list item 1 2. ordered list item 2 But if you are really getting into Org syntax, here's the mega test file[4] for ox-hugo package that exports to 100's (literally) of Hugo content posts here[5] and gets rendered to HTML by Hugo on https://ox-hugo.scripter.co/test/. The good news is that you don't have to use Emacs for Org mode, if you plan to use Org mode just like Markdown (and may be a little bit more). If you do use or end up using Emacs, then Org mode is like 1000x Markdown (or may be more :) ). > Thank you for bringing this up! I appreciate it :) You are welcome. Hopefully this response wasn't too much of an information overload. [1]: https://orgmode.org/manual/Markup.html [2]: https://gitlab.com/kaushalmodi/kaushalmodi.gitlab.io/raw/mas... [3]: https://raw.githubusercontent.com/kaushalmodi/ox-hugo/master... [4]: https://raw.githubusercontent.com/kaushalmodi/ox-hugo/master... [5]: https://github.com/kaushalmodi/ox-hugo/tree/master/test/site...
In Ask HN: What's a good static site generator to use for a blog in 2018?
If you call this tooling, I have developed an Emacs app that allows blogging in native Org mode, leaving out the interpretation of meta-data to happen automatically (the package does the parsing). It's designed to generate Markdown files + front-matter in TOML or YAML for Hugo (https://gohugo.io). The package is ox-hugo: https://ox-hugo.scripter.co/ In fact, that site is dog-fooding ox-hugo.. I simply commit the Org files, and Org --ox-hugo--> Markdown --hugo--> HTML conversion happens on Netlify, and that site gets updated. Github repo: https://github.com/kaushalmodi/ox-hugo/
In Why we transitioned from Medium back to our own blog

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.