@@ -14,13 +14,13 @@ one is running one command and editing the text you want to publish. And so on.
14
14
15
15
But sometimes, you don't want to do the same thing you have been doing. Sometimes you
16
16
want to make a one-off, a special thing, and Nikola should not get in the way
17
- of you doing that, either, and should let you get your hands as dirty as you want.
17
+ of you doing that. Rather, it should let you get your hands as dirty as you want.
18
18
19
- So, this tutorial is about how to do a page that is totally different from all the
19
+ So, this tutorial is about how to create a page that is totally different from all the
20
20
other pages in your site. A custom page.
21
21
22
22
Our goal for today is to make a page where it's nice to read a book. Specifically,
23
- a book of late victorian fiction called "Dr. Nikola's Vendetta" [1 ]_ because, how
23
+ a book of late Victorian fiction called "Dr. Nikola's Vendetta" [1 ]_ because, how
24
24
could we resist using that one, right? And to make it maintain, within reason,
25
25
the "style" of the original book.
26
26
@@ -33,10 +33,10 @@ want to read them.
33
33
The Open Library has `a lovely scan <https://archive.org/stream/bidforfortunenov00bootiala#page/n9/mode/2up >`__
34
34
of the original book we can use for some design guidance. On the other hand,
35
35
Project Gutenberg has `the text <http://www.gutenberg.org/ebooks/21640 >`__
36
- we can use for actual content!
36
+ which we can use for actual content!
37
37
38
38
So, I took the prologue of the book, did some very light editing to turn it into
39
- reStructured Text , added a picture of Dr. Nikola himself I fund in Wikipedia,
39
+ reStructuredText , added a picture of Dr. Nikola himself I found on Wikipedia,
40
40
and put it here for display. `Behold! <link://slug/dr-nikola-v1 >`__
41
41
42
42
That is very... bad? While Nikola does the job, the default template is simply not
@@ -89,7 +89,7 @@ Typesetting
89
89
-----------
90
90
91
91
Paragraph layout: Fiction books that are not fully justified feel wrong to me. So we should set
92
- ``text-align: justified `` in the CSS. But to achieve proper justification, you also need hyphenation.
92
+ ``text-align: justify; `` in the CSS. But to achieve proper justification, you also need hyphenation.
93
93
To have that in Nikola, you need to either enable it for the whole site (maybe not a great idea) or
94
94
just for this page using the hyphenate metadata::
95
95
@@ -98,7 +98,7 @@ just for this page using the hyphenate metadata::
98
98
Also, the original book has no space between paragraphs, and has bleeding in the first line, so more
99
99
CSS tweaks.
100
100
101
- Proper quotes! Nice, curly quotes are a must. Nikola has the typogrify filter to achieve that. Again,
101
+ Proper “ quotes”! And —dashes— ! Nice, curly quotes are a must. Nikola has the typogrify filter to achieve that. Again,
102
102
you can enable it for your whole site, or just for this page using metadata::
103
103
104
104
.. filters: filters.typogrify
0 commit comments