diff --git a/LICENSE b/LICENSE
index dba13ed2..c03a4e46 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,7 +1,7 @@
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@@ -643,7 +643,7 @@ the "copyright" line and a pointer to where the full notice is found.
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see .
+ along with this program. If not, see .
Also add information on how to contact you by electronic and paper mail.
@@ -658,4 +658,4 @@ specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
-.
+.
diff --git a/README.rst b/README.rst
index 176dfce4..6f83188c 100644
--- a/README.rst
+++ b/README.rst
@@ -50,8 +50,8 @@ Why the name "Pelican"?
.. _Python: https://www.python.org/
.. _reStructuredText: http://docutils.sourceforge.net/rst.html
.. _Markdown: https://daringfireball.net/projects/markdown/
-.. _Jinja2: http://jinja.pocoo.org/
-.. _Pygments: http://pygments.org/
+.. _Jinja2: https://palletsprojects.com/p/jinja/
+.. _Pygments: https://pygments.org/
.. _`Pelican's documentation`: https://docs.getpelican.com/
.. _`Pelican's internals`: https://docs.getpelican.com/en/latest/internals.html
.. _`hosted on GitHub`: https://github.com/getpelican/pelican
diff --git a/docs/content.rst b/docs/content.rst
index c51e5e66..a52425a4 100644
--- a/docs/content.rst
+++ b/docs/content.rst
@@ -524,7 +524,7 @@ indenting both the identifier and the code::
print("The path-less shebang syntax *will* show line numbers.")
The specified identifier (e.g. ``python``, ``ruby``) should be one that
-appears on the `list of available lexers `_.
+appears on the `list of available lexers `_.
When using reStructuredText the following options are available in the
code-block directive:
@@ -565,7 +565,7 @@ tagurlformat string format for the ctag links.
Note that, depending on the version, your Pygments module might not have
all of these options available. Refer to the *HtmlFormatter* section of the
-`Pygments documentation `_ for more
+`Pygments documentation `_ for more
details on each of the options.
For example, the following code block enables line numbers, starting at 153,
@@ -611,7 +611,7 @@ To publish a post when the default status is ``draft``, update the post's
metadata to include ``Status: published``.
.. _W3C ISO 8601: https://www.w3.org/TR/NOTE-datetime
-.. _AsciiDoc: http://www.methods.co.nz/asciidoc/
+.. _AsciiDoc: https://www.methods.co.nz/asciidoc/
.. _pelican-plugins: https://github.com/getpelican/pelican-plugins
.. _Markdown Extensions: https://python-markdown.github.io/extensions/
.. _CodeHilite extension: https://python-markdown.github.io/extensions/code_hilite/#syntax
diff --git a/docs/faq.rst b/docs/faq.rst
index d469f386..bfe51ec0 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -48,7 +48,7 @@ themes to style code syntax highlighting via CSS. Specifically, you can
customize the appearance of your syntax highlighting via the ``.highlight pre``
class in your theme's CSS file. To see how various styles can be used to render
Django code, for example, use the style selector drop-down at top-right on the
-`Pygments project demo site `_.
+`Pygments project demo site `_.
You can use the following example commands to generate a starting CSS file from
a Pygments built-in style (in this case, "monokai") and then copy the generated
@@ -167,7 +167,7 @@ I'm getting a warning about feeds generated without SITEURL being set properly
==============================================================================
`RSS and Atom feeds require all URL links to be absolute
-`_. In order to properly
+`_. In order to properly
generate links in Pelican you will need to set ``SITEURL`` to the full path of
your site.
diff --git a/docs/importer.rst b/docs/importer.rst
index 674dd9b1..88588d17 100644
--- a/docs/importer.rst
+++ b/docs/importer.rst
@@ -39,8 +39,8 @@ Dependencies
- *Pandoc*, see the `Pandoc site`_ for installation instructions on your
operating system.
-.. _Pandoc: http://johnmacfarlane.net/pandoc/
-.. _Pandoc site: http://johnmacfarlane.net/pandoc/installing.html
+.. _Pandoc: https://pandoc.org/
+.. _Pandoc site: https://pandoc.org/installing.html
Usage
@@ -58,7 +58,7 @@ Positional arguments
============= ============================================================================
``input`` The input file to read
``api_token`` (Posterous only) api_token can be obtained from http://posterous.com/api/
- ``api_key`` (Tumblr only) api_key can be obtained from http://www.tumblr.com/oauth/apps
+ ``api_key`` (Tumblr only) api_key can be obtained from https://www.tumblr.com/oauth/apps
============= ============================================================================
Optional arguments
@@ -137,7 +137,7 @@ Tests
To test the module, one can use sample files:
-- for WordPress: http://www.wpbeginner.com/wp-themes/how-to-add-dummy-content-for-theme-development-in-wordpress/
+- for WordPress: https://www.wpbeginner.com/wp-themes/how-to-add-dummy-content-for-theme-development-in-wordpress/
- for Dotclear: http://media.dotaddict.org/tda/downloads/lorem-backup.txt
-.. _more_categories: http://github.com/getpelican/pelican-plugins/tree/master/more_categories
\ No newline at end of file
+.. _more_categories: https://github.com/getpelican/pelican-plugins/tree/master/more_categories
\ No newline at end of file
diff --git a/docs/index.rst b/docs/index.rst
index 678732d8..4cbe41ae 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -79,7 +79,7 @@ Documentation
.. _Python: https://www.python.org/
.. _reStructuredText: http://docutils.sourceforge.net/rst.html
.. _Markdown: https://daringfireball.net/projects/markdown/
-.. _Jinja2: http://jinja.pocoo.org/
+.. _Jinja2: https://palletsprojects.com/p/jinja/
.. _`Pelican documentation`: https://docs.getpelican.com/latest/
.. _`Pelican's internals`: https://docs.getpelican.com/en/latest/internals.html
.. _`Pelican plugins`: https://github.com/getpelican/pelican-plugins
diff --git a/docs/install.rst b/docs/install.rst
index d683ed8f..03480e79 100644
--- a/docs/install.rst
+++ b/docs/install.rst
@@ -5,7 +5,7 @@ Pelican currently runs best on Python 2.7.x and 3.5+; earlier versions of
Python are not supported.
You can install Pelican via several different methods. The simplest is via
-`pip `_::
+`pip `_::
pip install pelican
@@ -43,7 +43,7 @@ options. For more detail, refer to the :doc:`Publish` section.
Optional packages
-----------------
-If you plan on using `Markdown `_ as a
+If you plan on using `Markdown `_ as a
markup format, you can install Pelican with Markdown support::
pip install pelican[Markdown]
@@ -53,7 +53,7 @@ Or you might need to install it a posteriori::
pip install Markdown
Typographical enhancements can be enabled in your settings file, but first the
-requisite `Typogrify `_ library must be
+requisite `Typogrify `_ library must be
installed::
pip install typogrify
@@ -64,22 +64,22 @@ Dependencies
When Pelican is installed, the following dependent Python packages should be
automatically installed without any action on your part:
-* `feedgenerator `_, to generate the
+* `feedgenerator `_, to generate the
Atom feeds
-* `jinja2 `_, for templating support
-* `pygments `_, for syntax highlighting
-* `docutils `_, for supporting
+* `jinja2 `_, for templating support
+* `pygments `_, for syntax highlighting
+* `docutils `_, for supporting
reStructuredText as an input format
-* `pytz `_, for timezone definitions
-* `blinker `_, an object-to-object and
+* `pytz `_, for timezone definitions
+* `blinker `_, an object-to-object and
broadcast signaling system
-* `unidecode `_, for ASCII
+* `unidecode `_, for ASCII
transliterations of Unicode text
-* `six `_, for Python 2 and 3 compatibility
+* `six `_, for Python 2 and 3 compatibility
utilities
-* `MarkupSafe `_, for a markup safe
+* `MarkupSafe `_, for a markup safe
string implementation
-* `python-dateutil `_, to read
+* `python-dateutil `_, to read
the date metadata
Upgrading
@@ -126,4 +126,4 @@ content)::
The next step is to begin to adding content to the *content* folder that has
been created for you.
-.. _virtualenv: http://www.virtualenv.org/
+.. _virtualenv: https://virtualenv.pypa.io/en/latest/
diff --git a/docs/internals.rst b/docs/internals.rst
index e8d35148..5b41070e 100644
--- a/docs/internals.rst
+++ b/docs/internals.rst
@@ -32,7 +32,7 @@ The logic is separated into different classes and concepts:
inputs.
* Pelican also uses templates, so it's easy to write your own theme. The
- syntax is `Jinja2 `_ and is very easy to learn, so
+ syntax is `Jinja2 `_ and is very easy to learn, so
don't hesitate to jump in and build your own theme.
How to implement a new reader?
diff --git a/docs/publish.rst b/docs/publish.rst
index 489558d8..9bea8938 100644
--- a/docs/publish.rst
+++ b/docs/publish.rst
@@ -207,4 +207,4 @@ That's it! Your site should now be live.
executables, such as ``python3``, you can set the ``PY`` and ``PELICAN``
environment variables, respectively, to override the default executable names.)
-.. _Invoke: http://www.pyinvoke.org
+.. _Invoke: https://www.pyinvoke.org/
diff --git a/docs/quickstart.rst b/docs/quickstart.rst
index 484a318f..1f6358a7 100644
--- a/docs/quickstart.rst
+++ b/docs/quickstart.rst
@@ -30,7 +30,7 @@ by asking some questions about your site::
For questions that have default values denoted in brackets, feel free to use
the Return key to accept those default values [#tzlocal_fn]_. When asked for
your URL prefix, enter your domain name as indicated (e.g.,
-``http://example.com``).
+``https://example.com``).
Create an article
-----------------
@@ -78,5 +78,5 @@ Footnotes
---------
.. [#tzlocal_fn] You can help localize default fields by installing the
- optional `tzlocal `_
+ optional `tzlocal `_
module.
diff --git a/docs/settings.rst b/docs/settings.rst
index 51caad28..9ebf85c2 100644
--- a/docs/settings.rst
+++ b/docs/settings.rst
@@ -709,7 +709,7 @@ Time and Date
.. [#] Default is the system locale.
-.. _locales on Windows: http://msdn.microsoft.com/en-us/library/cdax410z%28VS.71%29.aspx
+.. _locales on Windows: https://www.microsoft.com/en-us/download/details.aspx?id=55979
.. _locale(1): https://linux.die.net/man/1/locale
@@ -1357,6 +1357,6 @@ Example settings
:language: python
-.. _Jinja custom filters documentation: http://jinja.pocoo.org/docs/api/#custom-filters
-.. _Jinja Environment documentation: http://jinja.pocoo.org/docs/dev/api/#jinja2.Environment
+.. _Jinja custom filters documentation: https://jinja.palletsprojects.com/en/master/api/#custom-filters
+.. _Jinja Environment documentation: https://jinja.palletsprojects.com/en/master/api/#jinja2.Environment
.. _Docutils Configuration: http://docutils.sourceforge.net/docs/user/config.html
diff --git a/docs/themes.rst b/docs/themes.rst
index ea9214fe..a2332615 100644
--- a/docs/themes.rst
+++ b/docs/themes.rst
@@ -4,7 +4,7 @@ Creating themes
###############
To generate its HTML output, Pelican uses the `Jinja
-`_ templating engine due to its flexibility and
+`_ templating engine due to its flexibility and
straightforward syntax. If you want to create your own theme, feel free to take
inspiration from the `"simple" theme
`_.
@@ -104,7 +104,7 @@ that allow them to be easily sorted by name::
If you want to sort based on different criteria, `Jinja's sort command`__ has a
number of options.
-__ http://jinja.pocoo.org/docs/templates/#sort
+__ https://jinja.palletsprojects.com/en/master/templates/#sort
Date Formatting
diff --git a/pelican/tests/output/basic/a-markdown-powered-article.html b/pelican/tests/output/basic/a-markdown-powered-article.html
index 9053d5fe..e08cabd8 100644
--- a/pelican/tests/output/basic/a-markdown-powered-article.html
+++ b/pelican/tests/output/basic/a-markdown-powered-article.html
@@ -55,10 +55,10 @@