I define date
and lastmod
values as parameters in article pages. These values are as follows:
---
title: Example Title
slug: example-url
tags: example-tag
date: 03-01-2023 20:00
lastmod: 04-01-2023 20:11
---
I need to use date and lastmod values in head.html
as follows.
2022-11-17T17:16:13+00:00
date is just an example.
Is there any way I can take the parameters from the article page and convert them to this? I read the documentation but I don’t know exactly how it works.