From 852ab6ce24f811ca7382e0bfa0038d0e088f445e Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Fri, 1 Dec 2017 16:08:50 -0500 Subject: [PATCH] Support Org #+AUTHOR keyword Also allow disabling author export. This commit might be a big behavior change for some as now the author name is auto-exported to the post front matter. To disable that, simply put "#+AUTHOR:" or "#+OPTIONS: author:nil" at the top of your Org file. With this commit, ox-hugo now supports one more implicit ox.el feature. Part of solution to https://github.com/kaushalmodi/ox-hugo/issues/106 --- ox-hugo.el | 10 ++++ test/site/content-org/all-posts.org | 46 +++++++++++++++---- test/site/content-org/auto-set-lastmod.org | 2 + ...-hugo-front-matter-from-menu-meta-data.org | 2 + test/site/content-org/deep-nesting.org | 2 + .../site/content-org/hugo-menu-as-keyword.org | 2 + .../hugo-weight-as-keyword-auto-calc.org | 2 + .../images-in-content/images-in-content.org | 2 + .../images-in-content/post3/post3.org | 1 + .../images-in-content/post4/post4.org | 1 + .../single-posts/allow-empty-titles-1.org | 1 + .../single-posts/disable-title-1.org | 1 + .../single-posts/export-without-emphasize.org | 1 + ...eight-ineffective-for-per-file-exports.org | 2 + .../content-org/single-posts/post-draft.org | 1 + .../content-org/single-posts/post-toml.org | 1 + .../content-org/single-posts/post-yaml.org | 1 + .../src-blocks-with-highlight-shortcode.org | 2 + test/site/content-org/tags-and-categories.org | 2 + .../alias-test/alias-without-section-2.md | 2 +- .../content/posts/alias-different-section.md | 2 +- .../posts/alias-multiple-with-section.md | 2 +- .../posts/alias-multiple-without-section.md | 2 +- test/site/content/posts/alias-root-section.md | 2 +- .../content/posts/alias-without-section-1.md | 2 +- test/site/content/posts/auto-set-lastmod.md | 2 +- test/site/content/posts/disable-author.md | 8 ++++ test/site/content/posts/multiple-authors.md | 9 ++++ test/site/content/posts/single-author.md | 8 ++++ .../multifractals-in-ecology-using-r.md | 2 +- test/site/content/real-examples/nn-intro.md | 2 + .../writing-hugo-blog-in-org-file-export.md | 5 +- ...writing-hugo-blog-in-org-subtree-export.md | 3 +- 33 files changed, 113 insertions(+), 20 deletions(-) create mode 100644 test/site/content/posts/disable-author.md create mode 100644 test/site/content/posts/multiple-authors.md create mode 100644 test/site/content/posts/single-author.md diff --git a/ox-hugo.el b/ox-hugo.el index c6db697..df10dbf 100644 --- a/ox-hugo.el +++ b/ox-hugo.el @@ -1789,6 +1789,15 @@ INFO is a plist used as a communication channel." ;; (message "[hugo front matter DBG] info: %S" (pp info)) (let* ((fm-format (plist-get info :hugo-front-matter-format)) (title (org-entry-get (point) "ITEM")) ;Post title + (author-list (and (plist-get info :with-author) + (let ((author-raw + (org-string-nw-p + (org-export-data (plist-get info :author) info)))) + (when author-raw + ;; Comma-separated multiple authors + (let ((author-list-1 (org-split-string author-raw ","))) + ;; Don't allow spaces around author names. + (mapcar #'org-trim author-list-1)))))) (hugo-date-fmt "%Y-%m-%dT%T%z") (date-raw (or ;; Get the date from the "CLOSED" property; @@ -1935,6 +1944,7 @@ INFO is a plist used as a communication channel." (data `(;; The order of the elements below will be the order in which the front matter ;; variables will be ordered. (title . ,(org-hugo--sanitize-title info)) + (author . ,author-list) (description . ,(org-export-data (plist-get info :description) info)) (date . ,date) (publishDate . ,(org-export-data (plist-get info :hugo-publishdate) info)) diff --git a/test/site/content-org/all-posts.org b/test/site/content-org/all-posts.org index b7c7713..dbcb122 100644 --- a/test/site/content-org/all-posts.org +++ b/test/site/content-org/all-posts.org @@ -1,9 +1,12 @@ #+HUGO_BASE_DIR: ../ #+SEQ_TODO: TODO DRAFT DONE #+PROPERTY: header-args :eval no + #+MACRO: doc [[https://ox-hugo.scripter.co/doc/$1][$2]] #+MACRO: oxhugoissue =ox-hugo= Issue #[[https://github.com/kaushalmodi/ox-hugo/issues/$1][$1]] +#+AUTHOR: + * Preparation :PROPERTIES: :EXPORT_FILE_NAME: prep @@ -2609,45 +2612,68 @@ a_{b} a_{bc} a^{b} a^{bc} :END: This post will be exported without =title= in the front-matter because it is disabled using =:EXPORT_OPTIONS: title:nil=. -* Hugo Aliases :aliases: -** Alias without section portion 1 +** Disable exporting author :author:disable: +:PROPERTIES: +:EXPORT_OPTIONS: author:nil +:EXPORT_FILE_NAME: disable-author +:EXPORT_AUTHOR: Foo Bar +:END: +This post will be exported without =author= in the front-matter because +it is disabled using =:EXPORT_OPTIONS: author:nil=. +* Miscellaneous Front Matter :front_matter: +** Hugo Aliases :aliases: +*** Alias without section portion 1 :PROPERTIES: :EXPORT_FILE_NAME: alias-without-section-1 :EXPORT_HUGO_ALIASES: alias-a :END: As the specified alias does not contain the "/" string, it will be auto-prefixed with the section for the current post. -** New section just for test +*** New section just for test :PROPERTIES: :EXPORT_HUGO_SECTION: alias-test :END: -*** Alias without section portion 2 +**** Alias without section portion 2 :PROPERTIES: :EXPORT_FILE_NAME: alias-without-section-2 :EXPORT_HUGO_ALIASES: alias-b :END: As the specified alias does not contain the "/" string, it will be auto-prefixed with the section for the current post. -** Alias specifying a different section +*** Alias specifying a different section :PROPERTIES: :EXPORT_FILE_NAME: alias-different-section :EXPORT_HUGO_ALIASES: /alias-test/alias-c :END: -** Alias specifying root section +*** Alias specifying root section :PROPERTIES: :EXPORT_FILE_NAME: alias-root-section :EXPORT_HUGO_ALIASES: /alias-d :END: -** Multiple aliases without section portion +*** Multiple aliases without section portion :PROPERTIES: :EXPORT_FILE_NAME: alias-multiple-without-section :EXPORT_HUGO_ALIASES: alias-e alias-f :END: -** Multiple aliases with section portion +*** Multiple aliases with section portion :PROPERTIES: :EXPORT_FILE_NAME: alias-multiple-with-section :EXPORT_HUGO_ALIASES: /alias-test/alias-g /alias-test/alias-h :END: +** Author :author: +*** Single author +:PROPERTIES: +:EXPORT_FILE_NAME: single-author +:EXPORT_AUTHOR: Foo Bar +:END: +This post has 1 author. +*** Multiple authors +:PROPERTIES: +:EXPORT_FILE_NAME: multiple-authors +:EXPORT_AUTHOR: Foo Bar, Toto Kumar , Zulu ,Ágota Kristóf +:END: +This post has multiple authors. In Org, multiple authors are added +comma-separated. * Real Examples :real_examples: :PROPERTIES: :EXPORT_HUGO_SECTION: real-examples @@ -2655,7 +2681,7 @@ auto-prefixed with the section for the current post. ** Multifractals in ecology using R :math:equations: :PROPERTIES: :EXPORT_FILE_NAME: multifractals-in-ecology-using-r -:EXPORT_HUGO_CUSTOM_FRONT_MATTER: :author Leonardo A. Saravia +:EXPORT_AUTHOR: Leonardo A. Saravia :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :source https://github.com/lsaravia/MultifractalsInR/blob/master/Curso3.md :EXPORT_DATE: 2017-11-28T10:48:00-05:00 :END: @@ -2767,6 +2793,8 @@ auto-prefixed with the section for the current post. ** 神经网络基础 :math:equations:not_english:table:latex:latex_environment: :PROPERTIES: :EXPORT_FILE_NAME: nn-intro +:EXPORT_AUTHOR: Feng Ruohang +:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :source https://github.com/Vonng/Math/blob/master/nndl/nn-intro.md :EXPORT_DATE: 2017-11-29 :END: - Disclaimer :: This post is from the [[https://github.com/Vonng/Math/blob/master/nndl/nn-intro.md][link]] posted by GitHub user diff --git a/test/site/content-org/auto-set-lastmod.org b/test/site/content-org/auto-set-lastmod.org index 7e5811c..888a2c2 100644 --- a/test/site/content-org/auto-set-lastmod.org +++ b/test/site/content-org/auto-set-lastmod.org @@ -3,6 +3,8 @@ # Auto-set lastmod field in the below posts. #+HUGO_AUTO_SET_LASTMOD: t +#+AUTHOR: + #+FILETAGS: dont_export_during_make_test * Auto-set Lastmod diff --git a/test/site/content-org/construct-hugo-front-matter-from-menu-meta-data.org b/test/site/content-org/construct-hugo-front-matter-from-menu-meta-data.org index ce261fa..0f49f19 100644 --- a/test/site/content-org/construct-hugo-front-matter-from-menu-meta-data.org +++ b/test/site/content-org/construct-hugo-front-matter-from-menu-meta-data.org @@ -2,6 +2,8 @@ #+HUGO_FRONT_MATTER_FORMAT: yaml #+HUGO_MENU: :menu main :parent posts +#+AUTHOR: + * Menu Meta Data in YAML Front Matter :menu:yaml: :PROPERTIES: :EXPORT_FILE_NAME: menu-meta-data-yaml diff --git a/test/site/content-org/deep-nesting.org b/test/site/content-org/deep-nesting.org index 83d8aac..f357cf8 100644 --- a/test/site/content-org/deep-nesting.org +++ b/test/site/content-org/deep-nesting.org @@ -1,5 +1,7 @@ #+HUGO_BASE_DIR: ../ +#+AUTHOR: + * Introduction See https://github.com/kaushalmodi/ox-hugo/issues/81 diff --git a/test/site/content-org/hugo-menu-as-keyword.org b/test/site/content-org/hugo-menu-as-keyword.org index d93323b..3bc5c4d 100644 --- a/test/site/content-org/hugo-menu-as-keyword.org +++ b/test/site/content-org/hugo-menu-as-keyword.org @@ -2,6 +2,8 @@ #+SEQ_TODO: TODO DRAFT DONE #+HUGO_MENU: :menu "auto weight" +#+AUTHOR: + * Post with menu 1 (HUGO_MENU as keyword) :PROPERTIES: :EXPORT_FILE_NAME: hugo-menu-as-keyword--post-with-menu-1 diff --git a/test/site/content-org/hugo-weight-as-keyword-auto-calc.org b/test/site/content-org/hugo-weight-as-keyword-auto-calc.org index f3da55a..3cbff0f 100644 --- a/test/site/content-org/hugo-weight-as-keyword-auto-calc.org +++ b/test/site/content-org/hugo-weight-as-keyword-auto-calc.org @@ -3,6 +3,8 @@ #+HUGO_WEIGHT: auto #+HUGO_TAGS: weight +#+AUTHOR: + * Post 1 with auto calculation of weight (HUGO_WEIGHT as keyword) :PROPERTIES: :EXPORT_FILE_NAME: post-1-with-auto-calc-of-weight--hugo-weight-as-keyword diff --git a/test/site/content-org/images-in-content/images-in-content.org b/test/site/content-org/images-in-content/images-in-content.org index ad23ba5..0844756 100644 --- a/test/site/content-org/images-in-content/images-in-content.org +++ b/test/site/content-org/images-in-content/images-in-content.org @@ -2,6 +2,8 @@ #+HUGO_SECTION: images-in-content #+STARTUP: inlineimages +#+AUTHOR: + * Post 1 :PROPERTIES: :EXPORT_FILE_NAME: post1 diff --git a/test/site/content-org/images-in-content/post3/post3.org b/test/site/content-org/images-in-content/post3/post3.org index 564f61e..3485a56 100644 --- a/test/site/content-org/images-in-content/post3/post3.org +++ b/test/site/content-org/images-in-content/post3/post3.org @@ -3,6 +3,7 @@ #+STARTUP: inlineimages #+TITLE: Post 3 +#+AUTHOR: Post 3 contents diff --git a/test/site/content-org/images-in-content/post4/post4.org b/test/site/content-org/images-in-content/post4/post4.org index 5cf9ab3..b69f7b0 100644 --- a/test/site/content-org/images-in-content/post4/post4.org +++ b/test/site/content-org/images-in-content/post4/post4.org @@ -3,6 +3,7 @@ #+STARTUP: inlineimages #+TITLE: Post 4 +#+AUTHOR: Post 4 contents diff --git a/test/site/content-org/single-posts/allow-empty-titles-1.org b/test/site/content-org/single-posts/allow-empty-titles-1.org index b753920..986c70f 100644 --- a/test/site/content-org/single-posts/allow-empty-titles-1.org +++ b/test/site/content-org/single-posts/allow-empty-titles-1.org @@ -1,6 +1,7 @@ #+HUGO_BASE_DIR: ../../ #+TITLE: +#+AUTHOR: #+FILETAGS: empty title This post will be exported without =title= in the front-matter because diff --git a/test/site/content-org/single-posts/disable-title-1.org b/test/site/content-org/single-posts/disable-title-1.org index 7522ca2..97ff85b 100644 --- a/test/site/content-org/single-posts/disable-title-1.org +++ b/test/site/content-org/single-posts/disable-title-1.org @@ -1,6 +1,7 @@ #+HUGO_BASE_DIR: ../../ #+TITLE: Disable exporting title +#+AUTHOR: #+OPTIONS: title:nil #+FILETAGS: disable title diff --git a/test/site/content-org/single-posts/export-without-emphasize.org b/test/site/content-org/single-posts/export-without-emphasize.org index 5cefa11..a258750 100644 --- a/test/site/content-org/single-posts/export-without-emphasize.org +++ b/test/site/content-org/single-posts/export-without-emphasize.org @@ -1,4 +1,5 @@ #+TITLE: Table with Org markup where the markup is ignored +#+AUTHOR: # Ignore the Org emphasis characters like * and / #+OPTIONS: *:nil diff --git a/test/site/content-org/single-posts/hugo-auto-weight-ineffective-for-per-file-exports.org b/test/site/content-org/single-posts/hugo-auto-weight-ineffective-for-per-file-exports.org index 30e6438..ad9078d 100644 --- a/test/site/content-org/single-posts/hugo-auto-weight-ineffective-for-per-file-exports.org +++ b/test/site/content-org/single-posts/hugo-auto-weight-ineffective-for-per-file-exports.org @@ -1,4 +1,6 @@ #+TITLE: Hugo auto weight ineffective for per-file exports +#+AUTHOR: + #+HUGO_BASE_DIR: ../../ #+HUGO_WEIGHT: auto #+HUGO_TAGS: weight diff --git a/test/site/content-org/single-posts/post-draft.org b/test/site/content-org/single-posts/post-draft.org index b897569..0dd0aa3 100644 --- a/test/site/content-org/single-posts/post-draft.org +++ b/test/site/content-org/single-posts/post-draft.org @@ -1,4 +1,5 @@ #+TITLE: Single Post, but draft +#+AUTHOR: #+DATE: 2017-07-20 #+HUGO_PUBLISHDATE: 2017-07-22 #+HUGO_EXPIRYDATE: 2017-07-23 diff --git a/test/site/content-org/single-posts/post-toml.org b/test/site/content-org/single-posts/post-toml.org index 4f53f8f..5864466 100644 --- a/test/site/content-org/single-posts/post-toml.org +++ b/test/site/content-org/single-posts/post-toml.org @@ -1,4 +1,5 @@ #+TITLE: Single Post with TOML front matter +#+AUTHOR: #+DATE: 2017-07-20 #+HUGO_PUBLISHDATE: 2017-07-22 #+HUGO_EXPIRYDATE: 2017-07-23 diff --git a/test/site/content-org/single-posts/post-yaml.org b/test/site/content-org/single-posts/post-yaml.org index 7b8f9b7..44b212e 100644 --- a/test/site/content-org/single-posts/post-yaml.org +++ b/test/site/content-org/single-posts/post-yaml.org @@ -1,4 +1,5 @@ #+TITLE: Single Post with YAML front matter +#+AUTHOR: #+DATE: 2017-07-20 #+HUGO_PUBLISHDATE: 2017-07-22 #+HUGO_EXPIRYDATE: 2017-07-23 diff --git a/test/site/content-org/src-blocks-with-highlight-shortcode.org b/test/site/content-org/src-blocks-with-highlight-shortcode.org index cd1d581..eda86cb 100644 --- a/test/site/content-org/src-blocks-with-highlight-shortcode.org +++ b/test/site/content-org/src-blocks-with-highlight-shortcode.org @@ -8,6 +8,8 @@ # shortcode. # #+HUGO_CODE_FENCE: t +#+AUTHOR: + #+SEQ_TODO: TODO DRAFT DONE * Source blocks with Hugo =highlight= shortcode diff --git a/test/site/content-org/tags-and-categories.org b/test/site/content-org/tags-and-categories.org index 7bc482e..d15fb73 100644 --- a/test/site/content-org/tags-and-categories.org +++ b/test/site/content-org/tags-and-categories.org @@ -1,4 +1,6 @@ #+TITLE: My Blog +#+AUTHOR: + #+HUGO_BASE_DIR: ../ #+TAGS: these tags do not get globally applied to the posts diff --git a/test/site/content/alias-test/alias-without-section-2.md b/test/site/content/alias-test/alias-without-section-2.md index 894e8e5..72a4cd3 100644 --- a/test/site/content/alias-test/alias-without-section-2.md +++ b/test/site/content/alias-test/alias-without-section-2.md @@ -1,7 +1,7 @@ +++ title = "Alias without section portion 2" aliases = ["/alias-test/alias-b"] -tags = ["aliases"] +tags = ["front-matter", "aliases"] draft = false +++ diff --git a/test/site/content/posts/alias-different-section.md b/test/site/content/posts/alias-different-section.md index 2b9ceb3..4cc73bc 100644 --- a/test/site/content/posts/alias-different-section.md +++ b/test/site/content/posts/alias-different-section.md @@ -1,6 +1,6 @@ +++ title = "Alias specifying a different section" aliases = ["/alias-test/alias-c"] -tags = ["aliases"] +tags = ["front-matter", "aliases"] draft = false +++ diff --git a/test/site/content/posts/alias-multiple-with-section.md b/test/site/content/posts/alias-multiple-with-section.md index c387930..8575858 100644 --- a/test/site/content/posts/alias-multiple-with-section.md +++ b/test/site/content/posts/alias-multiple-with-section.md @@ -1,6 +1,6 @@ +++ title = "Multiple aliases with section portion" aliases = ["/alias-test/alias-g", "/alias-test/alias-h"] -tags = ["aliases"] +tags = ["front-matter", "aliases"] draft = false +++ diff --git a/test/site/content/posts/alias-multiple-without-section.md b/test/site/content/posts/alias-multiple-without-section.md index 64bdbb2..8ce6d9d 100644 --- a/test/site/content/posts/alias-multiple-without-section.md +++ b/test/site/content/posts/alias-multiple-without-section.md @@ -1,6 +1,6 @@ +++ title = "Multiple aliases without section portion" aliases = ["/posts/alias-e", "/posts/alias-f"] -tags = ["aliases"] +tags = ["front-matter", "aliases"] draft = false +++ diff --git a/test/site/content/posts/alias-root-section.md b/test/site/content/posts/alias-root-section.md index 89b4e86..c2a06f8 100644 --- a/test/site/content/posts/alias-root-section.md +++ b/test/site/content/posts/alias-root-section.md @@ -1,6 +1,6 @@ +++ title = "Alias specifying root section" aliases = ["/alias-d"] -tags = ["aliases"] +tags = ["front-matter", "aliases"] draft = false +++ diff --git a/test/site/content/posts/alias-without-section-1.md b/test/site/content/posts/alias-without-section-1.md index 8d6aeef..3299354 100644 --- a/test/site/content/posts/alias-without-section-1.md +++ b/test/site/content/posts/alias-without-section-1.md @@ -1,7 +1,7 @@ +++ title = "Alias without section portion 1" aliases = ["/posts/alias-a"] -tags = ["aliases"] +tags = ["front-matter", "aliases"] draft = false +++ diff --git a/test/site/content/posts/auto-set-lastmod.md b/test/site/content/posts/auto-set-lastmod.md index db4960c..a64aa0b 100644 --- a/test/site/content/posts/auto-set-lastmod.md +++ b/test/site/content/posts/auto-set-lastmod.md @@ -1,6 +1,6 @@ +++ title = "Auto-set Lastmod" -lastmod = 2017-12-01T07:02:01-05:00 +lastmod = 2017-12-01T16:24:29-05:00 tags = ["dont-export-during-make-test"] draft = false +++ diff --git a/test/site/content/posts/disable-author.md b/test/site/content/posts/disable-author.md new file mode 100644 index 0000000..9d102d1 --- /dev/null +++ b/test/site/content/posts/disable-author.md @@ -0,0 +1,8 @@ ++++ +title = "Disable exporting author" +tags = ["export-option", "author", "disable"] +draft = false ++++ + +This post will be exported without `author` in the front-matter because +it is disabled using `:EXPORT_OPTIONS: author:nil`. diff --git a/test/site/content/posts/multiple-authors.md b/test/site/content/posts/multiple-authors.md new file mode 100644 index 0000000..d3b7e7c --- /dev/null +++ b/test/site/content/posts/multiple-authors.md @@ -0,0 +1,9 @@ ++++ +title = "Multiple authors" +author = ["Foo Bar", "Toto Kumar", "Zulu", "Ágota Kristóf"] +tags = ["front-matter", "author"] +draft = false ++++ + +This post has multiple authors. In Org, multiple authors are added +comma-separated. diff --git a/test/site/content/posts/single-author.md b/test/site/content/posts/single-author.md new file mode 100644 index 0000000..bf80eca --- /dev/null +++ b/test/site/content/posts/single-author.md @@ -0,0 +1,8 @@ ++++ +title = "Single author" +author = ["Foo Bar"] +tags = ["front-matter", "author"] +draft = false ++++ + +This post has 1 author. diff --git a/test/site/content/real-examples/multifractals-in-ecology-using-r.md b/test/site/content/real-examples/multifractals-in-ecology-using-r.md index d0fdb4d..aea548d 100644 --- a/test/site/content/real-examples/multifractals-in-ecology-using-r.md +++ b/test/site/content/real-examples/multifractals-in-ecology-using-r.md @@ -1,9 +1,9 @@ +++ title = "Multifractals in ecology using R" +author = ["Leonardo A. Saravia"] date = 2017-11-28T10:48:00-05:00 tags = ["real-examples", "math", "equations"] draft = false -author = "Leonardo A. Saravia" source = "https://github.com/lsaravia/MultifractalsInR/blob/master/Curso3.md" +++ diff --git a/test/site/content/real-examples/nn-intro.md b/test/site/content/real-examples/nn-intro.md index d371527..d7d0ec7 100644 --- a/test/site/content/real-examples/nn-intro.md +++ b/test/site/content/real-examples/nn-intro.md @@ -1,8 +1,10 @@ +++ title = "神经网络基础" +author = ["Feng Ruohang"] date = 2017-11-29 tags = ["real-examples", "math", "equations", "not-english", "table", "latex", "latex-environment"] draft = false +source = "https://github.com/Vonng/Math/blob/master/nndl/nn-intro.md" +++ - **Disclaimer:** This post is from the [link](https://github.com/Vonng/Math/blob/master/nndl/nn-intro.md) posted by GitHub user diff --git a/test/site/content/writing-hugo-blog-in-org-file-export.md b/test/site/content/writing-hugo-blog-in-org-file-export.md index a82c638..b90f6e0 100644 --- a/test/site/content/writing-hugo-blog-in-org-file-export.md +++ b/test/site/content/writing-hugo-blog-in-org-file-export.md @@ -1,8 +1,9 @@ +++ title = "Writing Hugo blog in Org (File Export)" +author = ["Kaushal Modi"] date = 2017-09-10 -lastmod = 2017-11-30T14:21:54-05:00 -tags = ["hugo", "org", "dont_export_during_make_test"] +lastmod = 2017-12-01T16:23:22-05:00 +tags = ["hugo", "org"] categories = ["emacs"] weight = 2001 draft = true diff --git a/test/site/content/writing-hugo-blog-in-org-subtree-export.md b/test/site/content/writing-hugo-blog-in-org-subtree-export.md index deab570..0bb2ed0 100644 --- a/test/site/content/writing-hugo-blog-in-org-subtree-export.md +++ b/test/site/content/writing-hugo-blog-in-org-subtree-export.md @@ -1,7 +1,8 @@ +++ title = "Writing Hugo blog in Org" +author = ["Kaushal Modi"] date = 2017-09-10 -lastmod = 2017-11-30T14:22:00-05:00 +lastmod = 2017-12-01T16:24:07-05:00 tags = ["dont-export-during-make-test", "hugo", "org"] categories = ["emacs"] weight = 2001