Add a table to show how to implicitly represent Hugo front matter

master
Kaushal Modi 9 years ago
parent e7695cad94
commit ff88b6b3c8
  1. 12
      README.org

@ -100,6 +100,18 @@ translate to Hugo front matter:
functions.
- (and much more..)
* Implicit setting of Hugo front matter variables in Org
|---------------------------+----------------------------+--------------------------------------|
| Hugo front matter (TOML) | Org | Org description |
|---------------------------+----------------------------+--------------------------------------|
| =title = "foo"= | =* foo= | Heading |
| =date = 2017-07-24= | =:EXPORT_DATE: 2017-07-24= | Subtree property |
| =tags = ["abc", "def"]= | =* foo :abc:def:= | Heading tags |
| =categories = ["x", "y"]= | =* foo :@x:@y:= | Heading tags with =@= prefix |
| =draft = true= | =* TODO foo= | Heading set to TODO (or DRAFT) |
| =draft = false= | =* foo= | Heading *not* set to TODO (or DRAFT) |
|---------------------------+----------------------------+--------------------------------------|
* Try =ox-hugo=
1. Clone this repo.
2. Run =hugo server --buildDrafts --buildFuture --navigateToChanged= in

Loading…
Cancel
Save