Hi!
How could I modify the output of [podlove-episode-list]?
I would like to hide the publishing time. And it would be nice to have the month in numbers instead of the word.
Any hints?
Thank you very much.
Best regards
Klaus
Hi!
How could I modify the output of [podlove-episode-list]?
I would like to hide the publishing time. And it would be nice to have the month in numbers instead of the word.
Any hints?
Thank you very much.
Best regards
Klaus
The shortcode is just a wrapper for this Podlove Template: podlove-publisher/templates/shortcode/episode-list.twig at master · podlove/podlove-publisher · GitHub
To modify, create a new Podlove Template, copy the whole template code, then modify.
You can pass a date format string to the publishing date, like so: {{ episode.publicationDate.format('Y-m-d') }}
Sounds complicated but was very simple to do.
Thank you very much!
I use
{{ episode.publicationDate.format('d.m.Y') }}