View Single Post
Old 07-10-2025, 11:22 PM   #11003
ernand
Junior Member
ernand began at the beginning.
 
ernand's Avatar
 
Posts: 6
Karma: 10
Join Date: Jul 2024
Device: calibre
Quote:
Originally Posted by JimmXinu View Post
No. In fact, that wouldn't work at all -- you'd end up with literally "<p>comments</p>" instead of "<p>value of comments</p>".

Remove all the "<br />," from logpage_entries and instead add:
Code:
logpage_entry:<b>${label}:</b> <span id="${id}">${value}</span><br />
Note about add_to_ for curious users:
Spoiler:
You can't do add_to_logpage_entry:<br /> in this case because apparently I never bothered putting logpage_entry in defaults.ini. And add_to_X doesn't work on the hard coded fall-back settings.
Thank you for the help.

So the final results would look like this on my end:
Spoiler:
## items to include in the log page Empty metadata entries, or those
## that haven't changed since the last update, will *not* appear, even
## if in the list. You can include extra text or HTML that will be
## included as-is in each log entry. Eg: logpage_entries: ...,<br />,
## summary,<br />,...
logpage_entries: dateCreated,datePublished,dateUpdated,numChapters, numWords,status,series,title,author,description,ca tegory,genre,rating,warnings,fandoms,freeformtags,
ao3categories,comments,chapterstotal,kudos,
hits,bookmarks,collections,byline,bookmarked,bookm arktags,
bookmarksummary,bookmarkprivate,bookmarkrec,restri cted,series00,
series01,series02,series03
logpage_entry:<b>${label}:</b> <span id="${id}">${value}</span><br />
ernand is offline   Reply With Quote