.dir-locals.el test
tags: dir-locals
Description/Summary
Test setting of few Org Hugo variables via.dir-locals.el.
Content
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 Variable | Value | |
|---|---|---|
| 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 |
| |
| NextPage | Links to Org Elements (tables, source blocks, ..) | |
| PrevPage | Parsing lastmod from LOGBOOK | |
| NextInSection | None | |
| PrevInSection | None |
Page Params (Debug)
| Key | Type | Value |
|---|---|---|
| creator | string | "Dummy creator string" |
| date | time.Time | 2018-10-31 00:00:00 +0000 UTC |
| description | string | "Test setting of few Org Hugo variables via `.dir-locals.el`." |
| draft | bool | false |
| iscjklanguage | bool | false |
| lastmod | time.Time | 2022-10-07 14:59:29 -0400 -0400 |
| publishdate | time.Time | 2018-10-31 00:00:00 +0000 UTC |
| tags | []string | "dir-locals" |
| title | string | ".dir-locals.el test" |
File Object (Debug)
| FileInfo Variable | Value |
|---|---|
| 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" |