Update documentation regarding aliases

This commit is contained in:
James Munns 2018-05-16 20:30:32 +02:00 committed by Vincent Prouillet
parent fbb57253a3
commit 3694c43d3a

View file

@ -51,7 +51,12 @@ order = 0
weight = 0 weight = 0
# Use aliases if you are moving content but want to redirect previous URLs to the # Use aliases if you are moving content but want to redirect previous URLs to the
# current one. This takes an array of path, not URLs. # current one. Each element in the array of aliases may take one of two forms:
# * "some/alias/path", which will generate "some/alias/path/index.html"
# * "some/alias/path.html", which will generate "some/alias/path.html"
#
# The former is useful if your previous site had the form "example.com/some/alias/path",
# the latter is useful if your previous site had the form "example.com/some/alias/path.html"
aliases = [] aliases = []
# Whether the page should be in the search index. This is only used if # Whether the page should be in the search index. This is only used if