.Kind (page): .Type (posts) / .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 ffc8cc7 "fix: Attempt indentation removal from TOC str only if it's non-nil" on 2022-10-28.
Markdown source of this page

Post with #+toc: headlines 1 but no headings

tags: keyword toc


Description/Summary

Test the use of #+toc: headlines 1 in a post with no headings.

Content

ox-hugo Issue #679


Page (Debug)

Page VariableValue
Name "Post with #+toc: headlines 1 but no headings"
Title "Post with #+toc: headlines 1 but no headings"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/post-with-toc-headlines-but-no-headings/"
RelPermalink "/posts/post-with-toc-headlines-but-no-headings/"
Data
page.Data{} (type:page.Data)
NextPagePost in sub1/sub2/sub3
PrevPagePost with a DONE heading
NextInSectionPost in sub1/sub2/sub3
PrevInSectionPost with a DONE heading

Page Params (Debug)

KeyTypeValue
descriptionstring "Test the use of `#+toc: headlines 1` in a post with no headings."
draftbool false
iscjklanguagebool false
lastmodtime.Time 2022-10-28 11:52:11 -0400 -0400
tags[]string "keyword" "toc"
titlestring "Post with #+toc: headlines 1 but no headings"

File Object (Debug)

FileInfo VariableValue
UniqueID "a12266a089a5f4fc38688fd9226a8fba"
BaseFileName "post-with-toc-headlines-but-no-headings"
TranslationBaseName "post-with-toc-headlines-but-no-headings"
Lang "en"
Section "posts"
LogicalName "post-with-toc-headlines-but-no-headings.md"
Dir "posts/"
Ext "md"
Path "posts/post-with-toc-headlines-but-no-headings.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]