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 Params (Debug)
Key | Type | Value |
description | string |
" Ensure that nil value of parsed DATE is also handled in the \"suppress\n lastmod\" logic.\n "
|
draft | bool |
false
|
iscjklanguage | bool |
false
|
lastmod | time.Time |
2019-01-23 10:54:11 -0500 -0500
|
tags | []string |
"suppress"
"lastmod"
"nonzero"
"autoset"
"date"
"unset"
|
title | string |
"Suppress lastmod non-zero, but date unset"
|
File Object (Debug)
FileInfo Variable | Value |
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"
|