From bfaa5f9d5c0b4dfee4836ae250a24f4d7ee1f172 Mon Sep 17 00:00:00 2001 From: Jered Boxman Date: Sun, 10 Mar 2013 14:34:17 +0100 Subject: [PATCH] Added clearification in docs for PAGE_SAVE_AS I discussed this option in the IRC channel, because I don't think it's very clear. When I first read the list of options I was under the impression that Pelican could do rewriting of urls. I discovered that this isn't the case, so I discusses this in the IRC channel and got the encouragement to submit a pull request. --- docs/settings.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/settings.rst b/docs/settings.rst index 5babedbd..bae7a9f3 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -186,7 +186,9 @@ Setting name (default value) What does it do? `ARTICLE_LANG_SAVE_AS` (``'{slug}-{lang}.html'``) The place where we will save an article which doesn't use the default language. `PAGE_URL` (``'pages/{slug}.html'``) The URL we will use to link to a page. -`PAGE_SAVE_AS` (``'pages/{slug}.html'``) The location we will save the page. +`PAGE_SAVE_AS` (``'pages/{slug}.html'``) The location we will save the page. This value has to be + the same as PAGE_URL or you need to use a rewrite in + your server config. `PAGE_LANG_URL` (``'pages/{slug}-{lang}.html'``) The URL we will use to link to a page which doesn't use the default language. `PAGE_LANG_SAVE_AS` (``'pages/{slug}-{lang}.html'``) The location we will save the page which doesn't