Skip to content

Commit b65fcfe

Browse files
committedSep 12, 2015
typos and wording suggestions
1 parent 0fae996 commit b65fcfe

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
 

‎stories/creating-a-custom-page.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ one is running one command and editing the text you want to publish. And so on.
1414

1515
But sometimes, you don't want to do the same thing you have been doing. Sometimes you
1616
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.
1818

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
2020
other pages in your site. A custom page.
2121

2222
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
2424
could we resist using that one, right? And to make it maintain, within reason,
2525
the "style" of the original book.
2626

@@ -33,10 +33,10 @@ want to read them.
3333
The Open Library has `a lovely scan <https://archive.org/stream/bidforfortunenov00bootiala#page/n9/mode/2up>`__
3434
of the original book we can use for some design guidance. On the other hand,
3535
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!
3737

3838
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,
4040
and put it here for display. `Behold! <link://slug/dr-nikola-v1>`__
4141

4242
That is very... bad? While Nikola does the job, the default template is simply not
@@ -89,7 +89,7 @@ Typesetting
8989
-----------
9090

9191
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.
9393
To have that in Nikola, you need to either enable it for the whole site (maybe not a great idea) or
9494
just for this page using the hyphenate metadata::
9595

@@ -98,7 +98,7 @@ just for this page using the hyphenate metadata::
9898
Also, the original book has no space between paragraphs, and has bleeding in the first line, so more
9999
CSS tweaks.
100100

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,
102102
you can enable it for your whole site, or just for this page using metadata::
103103

104104
.. filters: filters.typogrify

0 commit comments

Comments
 (0)
Please sign in to comment.