Skip to content

Commit

Permalink
Merge pull request #2 from chryssakr/handbook-page
Browse files Browse the repository at this point in the history
add two editions for the handbook page
  • Loading branch information
sirodoht committed Sep 3, 2024
2 parents fede20a + 5b7ec79 commit 49f9c0b
Show file tree
Hide file tree
Showing 5 changed files with 217 additions and 0 deletions.
1 change: 1 addition & 0 deletions content/handbook-clustered.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
+++ template = "handbook-clustered.html" +++
1 change: 1 addition & 0 deletions content/handbook.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
+++ template = "handbook.html" +++
117 changes: 117 additions & 0 deletions templates/handbook-clustered.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
{% extends 'index.html' %}

{% block title %}handbook - laniakea books{% endblock title %}

{% block intro %}
{% endblock intro %}

{% block content %}
<main>
<h1>Handbook</h1>

<p class="lead">
What about the specifics of our book production?
</p>

<h2 id="book-text">1. Book text</h2>

<ol>
<li>
Acquire book text in any form
<ul>
<li>title</li>
<li>subtitle</li>
<li>blurp</li>
<li>author bio</li>
</ul>
</li>
<li>
Typeset book
<ul>
<li>Affinity Publisher / Adobe InDesign</li>
<li>TeX / Tectonic</li>
<li>typst</li>
</ul>
</li>
</ol>

<h2 id="book-design">2. Physical book design</h2>

<ol>
<li>Decide book dimensions</li>
<li>Decide paper gsm and calculate spine width</li>
<li>
Design cover
<ul>
<li>front</li>
<li>back</li>
<li>insides</li>
<li>spine</li>
</ul>
</li>
</ol>

<h2 id="printing">3. Printing</h2>

<ol>
<li>Decide number of copies</li>
<li>Get quotes from printers</li>
<li>Decide retail price</li>
<li>
ISBN
<ul>
<li>
Issue and assign ISBN
<ul>
<li>
<a href="https://www.nielsenisbnstore.com/">https://www.nielsenisbnstore.com/</a>
</li>
</ul>
</li>
<li>
Generate EAN-13 ISBN barcode with zint
<ul>
<li>
<a href="https://en.wikipedia.org/wiki/International_Article_Number">https://en.wikipedia.org/wiki/International_Article_Number</a>
</li>
<li>
<a href="https://github.com/zint/zint">https://github.com/zint/zint</a>
</li>
</ul>
</li>
</ul>
</li>
</ol>

<h2 id="online-presence">4. Online presence</h2>

<ol>
<li>
Supply book data
<ul>
<li>
<a href="https://www.nielsentitleeditor.com/">https://www.nielsentitleeditor.com/</a>
</li>
</ul>
</li>
<li>Produce HTML files and create epub</li>
<li>
Validate epub using epubcheck
<ul>
<li>
<a href="https://github.com/w3c/epubcheck">https://github.com/w3c/epubcheck</a>
</li>
</ul>
</li>
<li>Add book files on website</li>
</ol>

</main>

<div class="plug">
<div class="plug-text">
More details of how this works in practice?
</div>
<a href="/how-it-works/">How it works</a>
</div>
{% endblock content %}
96 changes: 96 additions & 0 deletions templates/handbook.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{% extends 'index.html' %}

{% block title %}handbook - laniakea books{% endblock title %}

{% block intro %}
{% endblock intro %}

{% block content %}
<main>
<h1>Handbook</h1>

<p class="lead">
What about the specifics of our book production?
</p>

<ol>
<li>
Acquire book text in any form
<ul>
<li>title</li>
<li>subtitle</li>
<li>blurp</li>
<li>author bio</li>
</ul>
</li>
<li>Decide book dimensions</li>
<li>
Typeset book
<ul>
<li>Affinity Publisher / Adobe InDesign</li>
<li>TeX / Tectonic</li>
<li>typst</li>
</ul>
</li>
<li>Decide paper gsm and calculate spine width</li>
<li>
Design cover
<ul>
<li>front</li>
<li>back</li>
<li>insides</li>
<li>spine</li>
</ul>
</li>
<li>Decide number of copies</li>
<li>Get quotes from printers</li>
<li>Decide retail price</li>
<li>
Issue and assign ISBN
<ul>
<li>
<a href="https://www.nielsenisbnstore.com/">https://www.nielsenisbnstore.com/</a>
</li>
</ul>
</li>
<li>
Generate EAN-13 ISBN barcode with zint
<ul>
<li>
<a href="https://en.wikipedia.org/wiki/International_Article_Number">https://en.wikipedia.org/wiki/International_Article_Number</a>
</li>
<li>
<a href="https://github.com/zint/zint">https://github.com/zint/zint</a>
</li>
</ul>
</li>
<li>
Supply book data
<ul>
<li>
<a href="https://www.nielsentitleeditor.com/">https://www.nielsentitleeditor.com/</a>
</li>
</ul>
</li>
<li>Produce HTML files and create epub</li>
<li>
Validate epub using epubcheck
<ul>
<li>
<a href="https://github.com/w3c/epubcheck">https://github.com/w3c/epubcheck</a>
</li>
</ul>
</li>
<li>Add book files on website</li>

</ol>

</main>

<div class="plug">
<div class="plug-text">
More details of how this works in practice?
</div>
<a href="/how-it-works/">How it works</a>
</div>
{% endblock content %}
2 changes: 2 additions & 0 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ <h1>laniakea books</h1>
<a href="/lets-chat/">Let’s chat</a>
<a href="/how-it-works/">How it works</a>
<a href="/philosophy/">Philosophy</a>
<a href="/handbook/">Handbook</a>
<a href="/handbook-clustered/">Handbook clustered</a>
<a href="/pricing/">Pricing</a>
<a href="/books/">Books</a>
<a href="/blog/">Blog</a>
Expand Down

0 comments on commit 49f9c0b

Please sign in to comment.