.Kind (page): .Type (page) / .Layout ()
Bundle: n/a (regular page)
[ categories | tags | search ]
ox-hugo Test Site

This is the test site for the ox-hugo package for Emacs/Org-mode.

It is updated automatically after each commit to the ox-hugo repo. It was last updated on Jun 26, 2022 21:18 UTC.


This page was created/modified in commit c24ea79 "feat!: Use tomelr.el for TOML generation" on 2022-05-03.
Markdown source of this page

Writing Hugo blog in Org (File Export)

categories: emacs

tags: hugo org


This is a Draft



Description/Summary

First heading within the post # 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.


Content

First heading within the post #

A sub-heading under that heading #

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.

The exported Markdown has a little comment footer as set in the Local Variables section below.


Page (Debug)

Page VariableValue
Name "Writing Hugo blog in Org (File Export)"
Title "Writing Hugo blog in Org (File Export)"
ResourceType "page"
Kind "page"
Section ""
Draft true
Type "page"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/writing-hugo-blog-in-org-file-export/"
RelPermalink "/writing-hugo-blog-in-org-file-export/"
Data
page.Data{} (type:page.Data)
NextPageWriting Hugo blog in Org
PrevPagePost with auto weight calc 1 (EXPORT_HUGO_WEIGHT as subtree property)
NextInSectionWriting Hugo blog in Org
PrevInSection Setting EXPORT_HUGO_SECTION to "/"

Page Params (Debug)

KeyTypeValue
alphaint64 1
author[]string "Kaushal Modi"
bazstring "zoo"
betastring "two words"
categories[]string "emacs"
datetime.Time 2017-09-10 00:00:00 +0000 UTC
draftbool true
foostring "bar"
gammaint64 10
iscjklanguagebool false
lastmodtime.Time 2022-05-03 00:48:15 -0400 -0400
menumaps.Params
KeyTypeValue
mainmaps.Params
KeyTypeValue
identifierstring "writing-hugo-blog-in-org-file-export"
weightint64 2001
publishdatetime.Time 2017-09-10 00:00:00 +0000 UTC
tags[]string "hugo" "org"
titlestring "Writing Hugo blog in Org (File Export)"
weightint 2001

File Object (Debug)

FileInfo VariableValue
UniqueID "0040a2ffcb60fcea1274b488f8cd3380"
BaseFileName "writing-hugo-blog-in-org-file-export"
TranslationBaseName "writing-hugo-blog-in-org-file-export"
Lang "en"
Section ""
LogicalName "writing-hugo-blog-in-org-file-export.md"
Dir "/"
Ext "md"
Path "writing-hugo-blog-in-org-file-export.md"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.101.0 (commit 466fa43c16709b4483689930a4f9ac8add5c9f66) . This site is powered by Netlify.
[Test Site home | ox-hugo home]