https://github.com/getnikola/nikola/pull/3047

On Sun, Apr 15, 2018 at 2:35 PM George Leslie-Waksman <waks...@gmail.com>
wrote:

> Ok, that's a documentation bug. Right now the docs say, "The last time
> this post was updated, defaults to now."
>
> I'll make a fix for that later today.
>
> --George
>
> On Sun, Apr 15, 2018 at 2:30 PM Chris Warrick <kwpol...@gmail.com> wrote:
>
>> On 15 April 2018 at 23:27, George Leslie-Waksman <waks...@gmail.com>
>> wrote:
>> > I've been making some updates to my site recently and thinking about
>> > starting to use the "updated" metadata field for when I make
>> addenda/errata
>> > for my posts. In doing so, I noticed that "updated" defaults to
>> render-time,
>> > which seems counter-intuitive to me.
>> >
>> > What do people think of changing the "updated" metadata field default
>> to be
>> > the value of the "date" field effective nikola v8?
>>
>> Are you sure?
>> https://github.com/getnikola/nikola/blob/master/nikola/post.py#L224
>> says otherwise:
>>
>> default_metadata['updated'] = default_metadata.get('date', None)
>>
>> I depend on that behavior on chriswarrick.com, and it works.
>>
>> --
>> Chris Warrick <https://chriswarrick.com/>
>> PGP: 5EAAEA16
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "nikola-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to nikola-discuss+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nikola-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to