mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 07:10:29 -04:00
Make titlecasing in <h1> and page titles consistent
This commit is contained in:
parent
e8f958558a
commit
77ce4cc6b4
18 changed files with 44 additions and 36 deletions
|
@ -1,4 +1,4 @@
|
|||
<?= Template::Header(['title' => 'Our goals', 'highlight' => 'about', 'description' => 'The goals of Standard Ebooks.']) ?>
|
||||
<?= Template::Header(['title' => 'Our Goals', 'highlight' => 'about', 'description' => 'The goals of Standard Ebooks.']) ?>
|
||||
<main>
|
||||
<article>
|
||||
<h1>Our Goals</h1>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?= Template::Header(['title' => 'Standard Ebooks and the public domain', 'highlight' => 'about', 'description' => 'The Standard Ebooks’ philosophy on copyright and the public domain.']) ?>
|
||||
<?= Template::Header(['title' => 'Standard Ebooks and the Public Domain', 'highlight' => 'about', 'description' => 'The Standard Ebooks’ philosophy on copyright and the public domain.']) ?>
|
||||
<main>
|
||||
<article>
|
||||
<h1>Standard Ebooks and the public domain</h1>
|
||||
<h1>Standard Ebooks and the Public Domain</h1>
|
||||
<p>All of our ebooks are texts that are thought to be in the public domain in the United States. We base our cover art designs on art that is also thought to be in the public domain in the United States.</p>
|
||||
<p>Standard Ebooks puts significant work into designing, formatting, marking up, and hosting our ebooks. While some think we could, or even <em>should</em>, release our work with some kind of copyright notice, instead <strong>Standard Ebooks dedicates the entirety of each of our ebook files, including markup, cover art, and everything in between, to the public domain</strong>.</p>
|
||||
<p>The public domain is a priceless resource for all of us, and for the generations after us. It’s a free repository of our culture going back centuries—a way for us to see where we came from and to chart where we’re going. It represents our collective cultural heritage.</p>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?= Template::Header(['title' => 'What makes Standard Ebooks different', 'highlight' => 'about', 'description' => 'How Standard Ebooks differs from other free ebook projects.']) ?>
|
||||
<?= Template::Header(['title' => 'What Makes Standard Ebooks Different', 'highlight' => 'about', 'description' => 'How Standard Ebooks differs from other free ebook projects.']) ?>
|
||||
<main>
|
||||
<article>
|
||||
<h1>What makes Standard Ebooks different</h1>
|
||||
<h1>What Makes Standard Ebooks Different</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<p><b>Design:</b> Consistent and clean cover art designs that make your ebook look good on the shelf, and attention to layout like section breaks, indentation, and chapter headings.</p>
|
||||
|
|
|
@ -52,10 +52,10 @@ catch(Exceptions\InvalidFileException){
|
|||
Template::Emit404();
|
||||
}
|
||||
|
||||
?><?= Template::Header(['title' => 'Download ', 'highlight' => '', 'description' => 'Download zip files containing all of the Standard Ebooks released in a given month.']) ?>
|
||||
?><?= Template::Header(['title' => 'Downloading Ebook Collections', 'highlight' => '', 'description' => 'Download zip files containing all of the Standard Ebooks released in a given month.']) ?>
|
||||
<main>
|
||||
<section class="narrow">
|
||||
<h1>Downloading ebook collections</h1>
|
||||
<h1>Downloading Ebook Collections</h1>
|
||||
<p><a href="/about#patrons-circle">Patrons circle members</a> can download zip files containing all of the ebooks that were released in a given month of Standard Ebooks history. You can <a href="/donate#patrons-circle">join the Patrons Circle</a> with a small donation in support of our continuing mission to create free, beautiful digital literature.</p>
|
||||
</section>
|
||||
</main>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?= Template::Header(['title' => 'How to choose and create a cover image', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to choosing, clearing, and formatting your cover image.']) ?>
|
||||
<?= Template::Header(['title' => 'How to Choose and Create a Cover Image', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to choosing, clearing, and formatting your cover image.']) ?>
|
||||
<main class="manual">
|
||||
<article class="step-by-step-guide">
|
||||
<h1>How to Choose and Create a Cover Image</h1>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?= Template::Header(['title' => 'How to conquer complex drama formatting', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to formatting any complex plays or dramatic dialog sections.']) ?>
|
||||
<?= Template::Header(['title' => 'How to Conquer Complex Drama Formatting', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to formatting any complex plays or dramatic dialog sections.']) ?>
|
||||
<main class="manual">
|
||||
<article class="step-by-step-guide">
|
||||
<h1>How to conquer complex drama formatting</h1>
|
||||
<h1>How to Conquer Complex Drama Formatting</h1>
|
||||
<p>Producing plays or structuring dramatic dialog sections can be daunting due to their intricate nature and unfamiliar formatting. Don’t panic! This comprehensive guide is designed to offer clear and concise explanations, along with practical examples, to help individuals navigate a wide range of situations with ease.</p>
|
||||
<aside class="alert">
|
||||
<p class="warning">Before you read</p>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?= Template::Header(['title' => 'How to create figures for music scores', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to producing SVG figures of music notation.']) ?>
|
||||
<?= Template::Header(['title' => 'How to Create Figures for Music Scores', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to producing SVG figures of music notation.']) ?>
|
||||
<main class="manual">
|
||||
<article class="step-by-step-guide">
|
||||
<h1>How to create figures for music scores</h1>
|
||||
<h1>How to Create Figures for Music Scores</h1>
|
||||
<p>Standard Ebooks handles instances of music notation in books by recreating them in a modern score editor and embedding them as SVG files much as any other illustration. To explain the process, let us consider the example of <a href="https://standardebooks.org/ebooks/george-bernard-shaw/man-and-superman"><i>Man and Superman</i></a>, which has three instances of music notation.</p>
|
||||
<ol>
|
||||
<li>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?
|
||||
require_once('Core.php');
|
||||
?><?= Template::Header(['title' => 'How to create SVGs from maps with several colors', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to producing SVG from images such as maps with more than a single color.']) ?>
|
||||
?><?= Template::Header(['title' => 'How to Create SVGs from Maps with Several Colors', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to producing SVG from images such as maps with more than a single color.']) ?>
|
||||
<main class="manual">
|
||||
<article class="step-by-step-guide">
|
||||
<h1>How to create SVGs from maps with several colors</h1>
|
||||
<h1>How to Create SVGs from Maps with Several Colors</h1>
|
||||
<p>It’s not unusual to find a map which has an additional line or lines in color showing the route of a journey. We want to preserve this color in the final SVG of the map we include with the book. We will use as an example a map reproduced in <i>Through the Brazilian Wilderness</i> by Theodore Roosevelt</p>
|
||||
<ol>
|
||||
<li>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?= Template::Header(['title' => 'How to structure and style large poetic productions', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to formatting poetry collections, long narrative poems, and unusual poetic features.']) ?>
|
||||
<?= Template::Header(['title' => 'How to Structure and Style Large Poetic Productions', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to formatting poetry collections, long narrative poems, and unusual poetic features.']) ?>
|
||||
<main class="manual">
|
||||
<article class="step-by-step-guide">
|
||||
<h1>How to structure and style large poetic productions</h1>
|
||||
<h1>How to Structure and Style Large Poetic Productions</h1>
|
||||
<p>The presentation of poems can take various styles and forms. Unlike prose, the structure of a poem adds additional meaning through indentations, line breaks, caesuras, spacing, and even the <i>shape</i> of the text. Here is a guide to help with some of poetry’s less intuitive formatting.</p>
|
||||
<aside class="alert">
|
||||
<p class="warning">Before you read</p>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?= Template::Header(['title' => 'Producing an ebook for Standard Ebooks', 'highlight' => 'contribute', 'description' => 'A high-level outline of the process of producing an ebook for Standard Ebooks.']) ?>
|
||||
<?= Template::Header(['title' => 'Producing an Ebook for Standard Ebooks', 'highlight' => 'contribute', 'description' => 'A high-level outline of the process of producing an ebook for Standard Ebooks.']) ?>
|
||||
<main>
|
||||
<article>
|
||||
<h1>Producing an ebook for Standard Ebooks</h1>
|
||||
<h1>Producing an Ebook for Standard Ebooks</h1>
|
||||
<p>Our tools and processes are all open source, so anyone with the right technical and editorial knowledge can produce a new Standard Ebooks ebook!</p>
|
||||
<p>Here’s what the process of getting an ebook on Standard Ebooks looks like.</p>
|
||||
<ol>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?= Template::Header(['title' => 'Uncategorized Art Resources', 'highlight' => 'contribute', 'description' => 'A list of US-PD art books for use when conducting cover art research.']) ?>
|
||||
<main>
|
||||
<article id="a-basic-standard-ebooks-source-folder">
|
||||
<h1>Uncategorized art books</h1>
|
||||
<h1>Uncategorized Art Resources</h1>
|
||||
<p>We need help from volunteers like you to go through these books and categorize the art in them for submission into our <a href="/artworks">Cover Art Database</a>.</p>
|
||||
<p>If you’d like to help us with categorizing this art, <a href="https://groups.google.com/g/standardebooks">contact the mailing list</a> and we’ll set you up with a free account for submitting artwork.</p>
|
||||
<ul>
|
||||
|
|
|
@ -61,9 +61,9 @@ try{
|
|||
catch(Exceptions\InvalidFileException | Exceptions\EbookNotFoundException){
|
||||
Template::Emit404();
|
||||
}
|
||||
?><?= Template::Header(['downloadUrl' => $downloadUrl]) ?>
|
||||
?><?= Template::Header(['title' => 'Your Download Has Started!', 'downloadUrl' => $downloadUrl]) ?>
|
||||
<main class="donate">
|
||||
<h1>Your download has started!</h1>
|
||||
<h1>Your Download Has Started!</h1>
|
||||
<div class="thank-you-container">
|
||||
<picture>
|
||||
<? if($ebook->CoverImage2xAvifUrl !== null){ ?><source srcset="<?= $ebook->CoverImage2xAvifUrl ?> 2x, <?= $ebook->CoverImageAvifUrl ?> 1x" type="image/avif"/><? } ?>
|
||||
|
|
|
@ -22,10 +22,10 @@ catch(Exceptions\NewsletterSubscriptionNotFoundException){
|
|||
}
|
||||
}
|
||||
|
||||
?><?= Template::Header(['title' => 'You’ve unsubscribed from the Standard Ebooks newsletter', 'highlight' => 'newsletter', 'description' => 'You’ve unsubscribed from the Standard Ebooks newsletter.']) ?>
|
||||
?><?= Template::Header(['title' => 'You’ve Been Unsubscribed', 'highlight' => 'newsletter', 'description' => 'You’ve unsubscribed from the Standard Ebooks newsletter.']) ?>
|
||||
<main>
|
||||
<article>
|
||||
<h1>You’ve been unsubscribed</h1>
|
||||
<h1>You’ve Been Unsubscribed</h1>
|
||||
<p>You’ll no longer receive Standard Ebooks email newsletters. Sorry to see you go!</p>
|
||||
</article>
|
||||
</main>
|
||||
|
|
|
@ -41,11 +41,11 @@ catch(Exceptions\AppException){
|
|||
Template::Emit404();
|
||||
}
|
||||
|
||||
?><?= Template::Header(['title' => 'Your subscription to the Standard Ebooks newsletter', 'highlight' => 'newsletter', 'description' => 'Your subscription to the Standard Ebooks newsletter.']) ?>
|
||||
?><?= Template::Header(['title' => 'Your Subscription to the Standard Ebooks Newsletter', 'highlight' => 'newsletter', 'description' => 'Your subscription to the Standard Ebooks newsletter.']) ?>
|
||||
<main>
|
||||
<section class="narrow">
|
||||
<? if($subscription->IsConfirmed){ ?>
|
||||
<h1>Your Standard Ebooks Newsletter Subscription</h1>
|
||||
<h1>Your Standard Ebooks Newsletter Subscription</h1>
|
||||
<? if($updated){ ?>
|
||||
<p class="message success">Your settings have been saved!</p>
|
||||
<? } ?>
|
||||
|
@ -54,16 +54,24 @@ catch(Exceptions\AppException){
|
|||
<? } ?>
|
||||
<p>You’re set to receive the following newsletters:</p>
|
||||
<ul>
|
||||
<? if($subscription->IsSubscribedToSummary){ ?><li><p>A monthly summary of new ebook releases</p></li><? } ?>
|
||||
<? if($subscription->IsSubscribedToNewsletter){ ?><li><p>The occasional Standard Ebooks newsletter</p></li><? } ?>
|
||||
<? if($subscription->IsSubscribedToSummary){ ?>
|
||||
<li>
|
||||
<p>A monthly summary of new ebook releases</p>
|
||||
</li>
|
||||
<? } ?>
|
||||
<? if($subscription->IsSubscribedToNewsletter){ ?>
|
||||
<li>
|
||||
<p>The occasional Standard Ebooks newsletter</p>
|
||||
</li>
|
||||
<? } ?>
|
||||
</ul>
|
||||
<p class="button-row narrow">
|
||||
<a href="<?= $subscription->Url ?>/delete" class="button">Unsubscribe</a>
|
||||
</p>
|
||||
<? }else{ ?>
|
||||
<h1>Almost done!</h1>
|
||||
<p>Please check your email inbox for a confirmation email containing a link to finalize your subscription to our newsletter.</p>
|
||||
<p>Your subscription won’t be activated until you click that link—this helps us prevent spam. Thank you!</p>
|
||||
<h1>Almost Done!</h1>
|
||||
<p>Please check your email inbox for a confirmation email containing a link to finalize your subscription to our newsletter.</p>
|
||||
<p>Your subscription won’t be activated until you click that link—this helps us prevent spam. Thank you!</p>
|
||||
<? } ?>
|
||||
</section>
|
||||
</main>
|
||||
|
|
|
@ -19,10 +19,10 @@ if($created){
|
|||
http_response_code(Enums\HttpCode::Created->value);
|
||||
}
|
||||
|
||||
?><?= Template::Header(['title' => 'Your subscription to the Standard Ebooks newsletter', 'highlight' => 'newsletter', 'description' => 'Your subscription to the Standard Ebooks newsletter.']) ?>
|
||||
?><?= Template::Header(['title' => 'Your Subscription to the Standard Ebooks Newsletter', 'highlight' => 'newsletter', 'description' => 'Your subscription to the Standard Ebooks newsletter.']) ?>
|
||||
<main>
|
||||
<section class="narrow">
|
||||
<h1>Almost done!</h1>
|
||||
<h1>Almost Done!</h1>
|
||||
<p>Please check your email inbox for a confirmation email containing a link to finalize your subscription to our newsletter.</p>
|
||||
<p>Your subscription won’t be activated until you click that link—this helps us prevent spam. Thank you!</p>
|
||||
</section>
|
||||
|
|
|
@ -19,10 +19,10 @@ catch(Exceptions\AppException){
|
|||
Template::Emit404();
|
||||
}
|
||||
|
||||
?><?= Template::Header(['title' => 'Thank you for voting!', 'highlight' => '', 'description' => 'Thank you for voting in a Standard Ebooks poll!']) ?>
|
||||
?><?= Template::Header(['title' => 'Your Vote Has Been Recorded!', 'highlight' => '', 'description' => 'Thank you for voting in a Standard Ebooks poll!']) ?>
|
||||
<main>
|
||||
<section class="narrow">
|
||||
<h1>Your vote has been recorded!</h1>
|
||||
<h1>Your Vote Has Been Recorded!</h1>
|
||||
<? if($created){ ?>
|
||||
<p class="center-notice">Thank you for voting in the <a href="<?= $vote->PollItem->Poll->Url ?>"><?= Formatter::EscapeHtml($vote->PollItem->Poll->Name) ?> poll</a>.</p>
|
||||
<? }else{ ?>
|
||||
|
|
|
@ -49,7 +49,7 @@ catch(Exceptions\PollVoteExistsException $ex){
|
|||
header('Location: ' . $redirect);
|
||||
exit();
|
||||
}
|
||||
?><?= Template::Header(['title' => $poll->Name . ' - Vote Now', 'highlight' => '', 'description' => 'Vote in the ' . $poll->Name . ' poll']) ?>
|
||||
?><?= Template::Header(['title' => 'Vote in the ' . $poll->Name . ' Poll', 'highlight' => '', 'description' => 'Vote in the ' . $poll->Name . ' poll']) ?>
|
||||
<main>
|
||||
<section class="narrow">
|
||||
<h1>Vote in the <?= Formatter::EscapeHtml($poll->Name) ?> Poll</h1>
|
||||
|
|
|
@ -32,7 +32,7 @@ if($exception){
|
|||
?><?= Template::Header(['title' => 'Log In', 'highlight' => '', 'description' => 'Log in to your Standard Ebooks Patrons Circle account.']) ?>
|
||||
<main>
|
||||
<section class="narrow">
|
||||
<h1>Log in</h1>
|
||||
<h1>Log In</h1>
|
||||
<?= Template::Error(['exception' => $exception]) ?>
|
||||
<? if(!$passwordRequired){ ?>
|
||||
<p>Enter your email address to log in to Standard Ebooks. Once you’re logged in, your Patrons Circle benefits (like <a href="/polls">voting in our occasional polls</a> and access to our <a href="/bulk-downloads">bulk ebook downloads</a> and <a href="/feeds">ebook feeds</a>) will be available to you.</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue