.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 May 09, 2019 04:21 UTC.

This page was created/modified in commit 64a3481 "Refactoring to use org-hugo-auto-export-mode elsewhere in the repo" on 2019-01-03.
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-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/"
Data 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 2019-01-03 11:40:23 -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.56.0-DEV (commit 24576909, using Chroma commit 26f03cb) .
[Test Site home | ox-hugo home]