Skip to content

Commit

Permalink
Fix some minor typos in the manual
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwpolska committed Apr 13, 2021
1 parent 8cc31e0 commit a654577
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions docs/manual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -652,14 +652,14 @@ default set to:

In case you translate your posts, you might also want to adjust various
other settings so that the generated URLs match the translation. You can
find most places in `conf.py` by searching for `(translatable)`. For example,
you might want to localize `/categories/` (search for `TAG_PATH`), `/pages/`
and `/posts/` (search for `POSTS` and `PAGES`, or see the next section), or
find most places in ``conf.py`` by searching for ``(translatable)``. For example,
you might want to localize ``/categories/`` (search for ``TAG_PATH``), ``/pages/``
and ``/posts/`` (search for ``POSTS`` and ``PAGES``, or see the next section), or
how to adjust the URLs for subsequent pages for indexes (search for
`INDEXES_PRETTY_PAGE_URL`).
``INDEXES_PRETTY_PAGE_URL``).

Nikola supports multiple languages for a post (we have almost 50 translations!). If you wish to
add support for more languages, check out `the Transifex page for Nikola <https://www.transifex.com/projects/p/nikola/>`_
add support for more languages, check out `the Transifex page for Nikola <https://www.transifex.com/projects/p/nikola/>`_.

How does Nikola decide where posts should go?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -1332,10 +1332,14 @@ emoji
gist
Show GitHub gists. If you know the gist's ID, this will show it in your site:

{{% raw %}}{{% gist 2395294 %}} {{% /raw %}}
.. code:: text
{{% raw %}}{{% gist 2395294 %}} {{% /raw %}}
listing
Used to show a code listing. Example::
Used to show a code listing. Example:

.. code:: text
{{% raw %}}{{% listing hello.py python linenumbers=True %}}{{% /raw %}}
Expand Down Expand Up @@ -2416,9 +2420,10 @@ filters.deduplicate_ids
DEDUPLICATE_IDS_TOP_CLASSES = ('postpage', 'storypage')
You can also use a file blacklist (``HEADER_PERMALINKS_FILE_BLACKLIST``),
useful for some index pages. Paths include the output directory (eg.
``output/index.html``)
You can also use a file blacklist (``HEADER_PERMALINKS_FILE_BLACKLIST``),
useful for some index pages. Paths include the output directory (eg.
``output/index.html``)


You can apply filters to specific posts or pages by using the ``filters`` metadata field:
Expand Down

0 comments on commit a654577

Please sign in to comment.