.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 Mar 05, 2024 19:24 UTC.

This page was created/modified in commit bcbab3e "minor(fix): Update tests" on 2022-10-07.
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, ..)
PrevPageParsing lastmod from LOGBOOK

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-10-07 14:59:29 -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.101.0 (commit 466fa43c16709b4483689930a4f9ac8add5c9f66) . This site is powered by Netlify.
[Test Site home | ox-hugo home]