{"id":8199,"date":"2019-07-26T11:15:31","date_gmt":"2019-07-26T15:15:31","guid":{"rendered":"https:\/\/irreal.org\/blog\/?p=8199"},"modified":"2019-07-26T11:15:31","modified_gmt":"2019-07-26T15:15:31","slug":"an-org-hugo-workflow-for-blogging","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=8199","title":{"rendered":"An Org\/Hugo Workflow for Blogging"},"content":{"rendered":"<p>Lots of bloggers are electing to generate static sites instead of relying on a CMS like Blogger or WordPress. It\u2019s an attractive option and one that I would probably pursue if I didn\u2019t have so much invested in WordPress. All my posts are written in Org mode and archived on my local machine so it would be pretty simple to republish them as static pages. The main problem I see is how to move the comments with the posts. There\u2019s a lot of wisdom contained in those comments and I\u2019d hate to lose them.<\/p>\n<p>If you\u2019re just starting out, however, there\u2019s no reason not to consider a static blog. Michael Howard over at <a href=\"https:\/\/fumbling.it\">FumbLing<\/a> has a <a href=\"https:\/\/fumbling.it\/posts\/how-i-blog\/#fnref:fn-3\">nice post<\/a> that goes into detail on how he uses Hugo and Org mode to blog. The nice thing is that every step from writing a post to publishing it is handled from within Emacs so there\u2019s very little friction.<\/p>\n<p>If you\u2019re not a hardcore Emacser, you might wonder why you\u2019d want to use Emacs for blogging. Howard explains why he thinks it makes sense at the beginning of his post. Then he goes into how he actually uses Org and Hugo to blog. As I said, it\u2019s pretty seamless. He has a single Org file with all of his posts in it. I don\u2019t know how well that would scale for someone like me who posts daily, but it\u2019s a very attractive strategy that keeps everything in one place.<\/p>\n<p>If you\u2019re wondering if the Org\/Hugo combination is a sustainable option consider that Mike Zamansky and many others also use Hugo and Org-mode for their blogging. As I say, it\u2019s one I\u2019d consider if I weren\u2019t so heavily invested in WordPress.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lots of bloggers are electing to generate static sites instead of relying on a CMS like Blogger or WordPress. It\u2019s an attractive option and one that I would probably pursue if I didn\u2019t have so much invested in WordPress. All &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=8199\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[18,4],"class_list":["post-8199","post","type-post","status-publish","format-standard","hentry","category-general","tag-emacs","tag-org-mode"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8199","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8199"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8199\/revisions"}],"predecessor-version":[{"id":8200,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8199\/revisions\/8200"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}