I did it!
I got the title page looking all nice and
fancy!
Spoiler:
Code:
# Add HTML to format the title page
titlepage_entries: rating,warnings,ao3categories,fandoms,ships,characters,freeformtags,language,collections,numWords,chapterslashtotal,description
titlepage_start:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>${title} by ${author}</title>
<link href="stylesheet.css" type="text/css" charset="UTF-8" rel="stylesheet"/>
<meta name="calibre-html-render-data"/>
</head>
<body>
<div class="title">
<a href="${storyUrl}">${title}</a> by ${authorHTML}
</div>
<dl class="titlepagelist">
titlepage_entry:
<dt><b>${label}:</b></dt> <dd>${value}</dd>
## When using tables, make these span both columns.
wide_titlepage_entries:
## ${id}, ${label}, ${value}
## Used with entries listed in wide_titlepage_entries, typically description, storyUrl, authorUrl
titlepage_wide_entry:
<span><b>${label}:</b> ${value}</span>
## metadata
titlepage_end:
## <dl class="stats">
## </dl>
</dl>
<hr style="border: .75px solid #999; width: 90%%; margin: 10px auto;" />
<br />
<div class="tag-summary-content" style="margin-top: 10px;">
<div style="text-align: left; font-weight: bold; margin-bottom: 5px;">Stats:</div>
<div class="inline" style="display: flex; justify-content: space-between; margin-bottom: 8px;">
<span>Published: ${datePublished}</span>
<span>Updated: ${dateUpdated}</span>
<span>Status: ${status}</span>
</div>
<div class="inline" style="display: flex; justify-content: space-between; margin-bottom: 8px;">
<span>Kudos: ${kudos}</span>
<span>Hits: ${hits}</span>
<span>Bookmarks: ${bookmarks}</span>
</div>
</body>
</html>
[archiveofourown.org]
freeformtags_label:Additional Tags
freefromtags_label:Additional Tags
ao3categories_label:Category
chapterslashtotal_label:Chapters
description_label: Summary
And I added the code tag! (Didn't know about it, sorry)
(Just so flipping happy that I got that pretty looking title page.)
okay, so could I have your help again please? I noticed that sometimes the author's notes in a story can like bleed through, like there's not a clear delineation of when the note ends and the chapter begins. Is there a way I could add a horizontal line break between them?
Here is an example story that has an author's note, I chose something with a general rating
https://archiveofourown.org/works/63...ters/161700646
I checked through the default.ini for it and all I found was this
and I noticed that in custom output there was a thing for epub chapter, so like it looked like there was a place that a line break could be inserted