View Single Post
Old 07-12-2025, 08:12 AM   #848
jonnyl
Zealot
jonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolate
 
Posts: 137
Karma: 33084
Join Date: Jan 2021
Device: Likebook Mars
I'm not sure if questions about Cover generator templates are appropriate here, but here is my question:

I'd like add an extra line in the footer showing the publish date (pubdate) in a smaller font.

The current footer template is this (it shows up to two authors):

Code:
program:
# Show at most two authors, on separate lines.
authors = field('authors');
num = count(authors, ' & ');
authors = sublist(authors, 0, 2, ' & ');
authors = list_re(authors, ' &amp; ', '(.+)', '<b>\1');
authors = re(authors, ' &amp; ', '<br>');
re(authors, '&amp;&amp;', '&amp;')
What code would I have to add? Thanks for any help.
jonnyl is offline   Reply With Quote