.Kind (page): .Type (dir-locals-test) / .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 Jan 20, 2022 20:12 UTC.

This page was created/modified in commit eff2ed2 "Remove the <div> .. </div> hack from #+toc inserted TOC" on 2022-01-11.
Markdown source of this page

.dir-locals.el test

tags: dir-locals


Test setting of few Org Hugo variables via .dir-locals.el.


Table of Contents

1 Variables set in .dir-locals.el

Table 1: Variables set using .dir-locals.el
Variable Value
org-hugo-base-dir "../../."
org-hugo-section "dir-locals-test"
org-hugo-front-matter-format "yaml"
org-hugo-footer "\n\nThis text is auto inserted at the end of the exported Markdown."
org-hugo-preserve-filling nil
org-hugo-use-code-for-kbd t
org-hugo-export-with-toc t
org-hugo-export-with-section-numbers t
org-hugo-export-creator-string "Dummy creator string"
org-hugo-date-format "%Y-%m-%d"

2 Test text

This is verbatim but this is wrapped in the kbd tag. As org-hugo-preserve-filling is set to nil, the column filling in the Org source is not preserved in the exported Markdown.

This text is auto inserted at the end of the exported Markdown.

Page (Debug)

Page VariableValue
Name ".dir-locals.el test"
Title ".dir-locals.el test"
ResourceType "page"
Kind "page"
Section "dir-locals-test"
Draft false
Type "dir-locals-test"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/dir-locals-test/dir-locals-test/"
RelPermalink "/dir-locals-test/dir-locals-test/"
page.Data{} (type:page.Data)
NextPageLinks to Org Elements (tables, source blocks, ..)
PrevPageCitations with captions

Page Params (Debug)

creatorstring "Dummy creator string"
datetime.Time 2018-10-31 00:00:00 +0000 UTC
descriptionstring "Test setting of few Org Hugo variables via `.dir-locals.el`."
draftbool false
iscjklanguagebool false
lastmodtime.Time 2022-01-11 23:56:17 -0500 -0500
publishdatetime.Time 2018-10-31 00:00:00 +0000 UTC
tags[]string "dir-locals"
titlestring ".dir-locals.el test"

File Object (Debug)

FileInfo VariableValue
UniqueID "85358f42755a07d9b66441ff7e99b395"
BaseFileName "dir-locals-test"
TranslationBaseName "dir-locals-test"
Lang "en"
Section "dir-locals-test"
LogicalName "dir-locals-test.md"
Dir "dir-locals-test/"
Ext "md"
Path "dir-locals-test/dir-locals-test.md"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.92.0 (commit b3549403) .
[Test Site home | ox-hugo home]