.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 e6e58a6 "Revert workaround done in 30f1e1e735ea6c2b18dc29a2667957b5144f10cc" on 2019-01-23.
Markdown source of this page

Suppress lastmod non-zero, but date unset

tags: suppress lastmod nonzero autoset date unset


Description/Summary

Ensure that nil value of parsed DATE is also handled in the “suppress lastmod” logic.

Content

Test for the bug-fix when date-str (internal variable) could be nil.

Ref


Page (Debug)

Page VariableValue
Name "Suppress lastmod non-zero, but date unset"
Title "Suppress lastmod non-zero, but date unset"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/suppress-lastmod-non-zero-but-date-unset/"
RelPermalink "/posts/suppress-lastmod-non-zero-but-date-unset/"
Data
page.Data{} (type:page.Data)
NextPageSub/superscripts require braces
PrevPageSwap tags and categories
NextInSectionSub/superscripts require braces
PrevInSectionSwap tags and categories

Page Params (Debug)

KeyTypeValue
descriptionstring " Ensure that nil value of parsed DATE is also handled in the \"suppress\n lastmod\" logic.\n "
draftbool false
iscjklanguagebool false
lastmodtime.Time 2019-01-23 10:54:11 -0500 -0500
tags[]string "suppress" "lastmod" "nonzero" "autoset" "date" "unset"
titlestring "Suppress lastmod non-zero, but date unset"

File Object (Debug)

FileInfo VariableValue
UniqueID "cf36fec755d57dabf5a1dd7e3b901e63"
BaseFileName "suppress-lastmod-non-zero-but-date-unset"
TranslationBaseName "suppress-lastmod-non-zero-but-date-unset"
Lang "en"
Section "posts"
LogicalName "suppress-lastmod-non-zero-but-date-unset.md"
Dir "posts/"
Ext "md"
Path "posts/suppress-lastmod-non-zero-but-date-unset.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]