#+hugo_base_dir: ../
#+hugo_section: ./

#+hugo_weight: 2001
#+hugo_auto_set_lastmod: t

#+title: Writing Hugo blog in Org (File Export)

#+date: 2017-09-10
#+author: Kaushal Modi

#+hugo_tags: hugo org
#+hugo_categories: emacs
#+hugo_menu: :menu "main" :weight 2001
#+hugo_custom_front_matter: :foo bar :baz zoo :alpha 1 :beta "two words" :gamma 10

#+hugo_draft: true

* First heading within the post
- This post will be exported as
  =content/posts/writing-hugo-blog-in-org-file-export.md=.
- Its title will be "Writing Hugo blog in Org".
- It will have /hugo/ and /org/ tags and /emacs/ as category.
- The /lastmod/ property in the front-matter is set automatically to
  the time of export.
- The menu item /identifier/ is auto-set.
- The menu item /weight/ and post /weight/ if needed have to be
  manually specified as shown above.
** A sub-heading under that heading
- It's draft state will be marked as =true= because of =#+hugo_draft:
  true=.

With the point _anywhere_, do =C-c C-e H h= to export this whole file
titled /Writing Hugo blog in Org/ to a Hugo post.

The exported Markdown has a little comment footer as set in the /Local
Variables/ section below.
* Footnotes
* COMMENT Local Variables                                           :ARCHIVE:
# Local Variables:
# org-hugo-footer: "\n\n[//]: # \"Exported with love from a post written in Org mode\"\n[//]: # \"- https://github.com/kaushalmodi/ox-hugo\""
# End:
