aboutsummaryrefslogtreecommitdiff
path: root/content/posts/initial.org
diff options
context:
space:
mode:
authorgabrielgio <gabriel.giovanini@pm.me>2020-07-11 22:56:37 +0200
committergabrielgio <gabriel.giovanini@pm.me>2020-07-11 22:56:37 +0200
commit0cae0bd94693d166a060af4652a2d8b95c335494 (patch)
tree1a22da637d4ed42ae4d8856d27c51cef3ad30c59 /content/posts/initial.org
parent60fe49ea3af38d4a7d5e8de1cdb72887b167b22d (diff)
downloadgabrielgio.me-0cae0bd94693d166a060af4652a2d8b95c335494.tar.gz
gabrielgio.me-0cae0bd94693d166a060af4652a2d8b95c335494.tar.bz2
gabrielgio.me-0cae0bd94693d166a060af4652a2d8b95c335494.zip
Demo file
Diffstat (limited to 'content/posts/initial.org')
-rw-r--r--content/posts/initial.org43
1 files changed, 36 insertions, 7 deletions
diff --git a/content/posts/initial.org b/content/posts/initial.org
index 83309c7..4326425 100644
--- a/content/posts/initial.org
+++ b/content/posts/initial.org
@@ -1,11 +1,40 @@
---
-title: "Initial"
-date: 2020-07-11T20:20:57+02:00
-draft: true
+title: "Writing Hugo blog in Org (File Export)"
+author: ["Kaushal Modi"]
+date: 2017-09-10
+lastmod: 2100-12-21T00:00:00+00:00
+tags: ["hugo", "org"]
+categories: ["emacs"]
+gamma: 10
---
+* First heading within the post :hugo:
+- 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=.
-Demo test
+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.
-Are u whaching
-Demo
-jhgjhgjhgjh
+The exported Markdown has a little comment footer as set in the /Local
+Variables/ section below.
+* Demo Source Code
+
+#+begin_src python
+if __name__ == "__main__":
+ print("Hello World")
+#+end_src
+
+ [[file:file]]notes
+* 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: