|
|
|
|
@ -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 |
|
|
|
|
|