diff options
-rw-r--r-- | content/posts/hugo-org-archetype/index.org | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/content/posts/hugo-org-archetype/index.org b/content/posts/hugo-org-archetype/index.org index b0f1f34..69961a8 100644 --- a/content/posts/hugo-org-archetype/index.org +++ b/content/posts/hugo-org-archetype/index.org @@ -1,5 +1,5 @@ #+TITLE: Hugo Org Archetype -#+DATE: 2020-06-24T17:42:11-04:00 +#+DATE: 2020-06-24T16:45:56-04:00 #+DRAFT: true #+DESCRIPTION: #+TAGS[]: hugo org-mode @@ -36,12 +36,10 @@ root]/archetypes/default.org= with the following contents: While this template doesn't contain every predefined front matter variable, it contains all of the ones I use regularly. You can find a -full list of predefined variables [[https://gohugo.io/content-management/front-matter/][here]]. The theme I use actually -doesn't use the =#+KEYWORDS[]:= variable as it just uses the tags as -keywords, but I fill it out the same as the =#+TAGS[]:= variable in -case I ever change themes. It doesn't hurt to have more variables in -the template than you use, as empty variables are not used in the -output. +full list of predefined variables [[https://gohugo.io/content-management/front-matter/][here]]. It doesn't hurt to have more +variables in the template than you use, as empty variables are not +used in the output. The org-mode front matter ends at the first line +that doesn't start with =#+=. The theme you use may also have its own custom front matter variables. @@ -54,4 +52,4 @@ I ran hugo new posts/hugo-org-archetype.org #+END_SRC -Then I open it in Emacs, and start typing! +Then I open it in Emacs and start typing! |