.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 Sep 16, 2021 13:32 UTC.

This page was created/modified in commit 805f18b "Add test and docs for the new `org-hugo-base-dir' variable" on 2021-05-17.
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.

3 Local Variables

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 2021-05-17 21:08:58 -0400 -0400
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.68.3 (commit 157669a0) .
[Test Site home | ox-hugo home]