Hi! I need to display when the page last modified inline.
When using my own shortcode:
{{< time.inline >}}{{ dateFormat "Monday, Jan 2, 2006" .Params.LastMod }}{{< /time.inline >}}
I receive the following error message:
index.md:174:43": failed to render shortcode "time.inline": failed to process shortcode: template: _inline_shortcode/privacy/index.md/time.inline:1:43: executing "_inline_shortcode/privacy/index.md/time.inline" at <.Params.LastMod>: can't evaluate field LastMod in type interface {}
What am I missing please?