Hello,
Is there any YAML tag to add a 'modified' or 'edited' date to my blog header? I don't find it in metablog manual or stackoverflow
Thanks,
Hello,
Is there any YAML tag to add a 'modified' or 'edited' date to my blog header? I don't find it in metablog manual or stackoverflow
Thanks,
There is a last modified date option that you could set: Quarto - Quarto Dates and Date Formatting
Then you have a date-format
and a date-modified
than you can set in HTML doc Quarto - HTML Options
Is this what you are looking for ?
Partially. That date code is ok, but I want to have it preceded by a text saying, let's say:
LAST MODIFIED:
and then the date last-modified
So in my document I can show the date published AND the date last modified.
PUBLISHED:
LAST MODIFIED:
I'm writing in Spanish, so I am using the metadata label published-title: PUBLICADO
.
Is there any way to add a metadata label to do the same with last modified date? In Spanish, that could be:
PUBLICADO:
ULTIMA MODIFICACION:
You can do that using the two date fields available as in doc I linked above. With spanish default is
---
title: prueba
date: 03/04/2022
date-modified: last-modified
lang: es
---
contenido
To customized the two translation follow the doc Quarto - Document Language
---
title: prueba
date: 03/04/2022
date-modified: last-modified
lang: es
language:
title-block-published: "PUBLICADO"
title-block-modified: "ULTIMA MODIFICACION"
---
---
contenido
Is this what you are looking for ?