diff --git a/conf.py b/conf.py index a9518ac67e7ca48227593fdcf5ba97c1328186ff..ba0331c8e8e3bc8c546805850ade48aac8d2c5be 100644 --- a/conf.py +++ b/conf.py @@ -131,9 +131,7 @@ NAVIGATION_LINKS = { "<span class='hidden-xs'>community</span>"), ("/contribute.html", "<i class='glyphicon glyphicon-wrench visible-xs-inline-block'></i>" "<span class='hidden-xs'>contribute</span>"), - ("/authors.html", "<i class='glyphicon glyphicon-user visible-xs-inline-block'></i>" - "<span class='hidden-xs'>authors</span>"), - ("/cite.html", "<i class='glyphicon glyphicon-edit visible-xs-inline-block'></i>" + ("/cite", "<i class='glyphicon glyphicon-edit visible-xs-inline-block'></i>" "<span class='hidden-xs'>cite</span>") ), } @@ -661,7 +659,7 @@ LICENSE = "" # A small copyright notice for the page footer (in HTML). # (translatable) -CONTENT_FOOTER = 'Contents © 2013-{date} <a href="mailto:{email}">{author}</a> {license}' +CONTENT_FOOTER = 'Contents © 2013-{date} <a href="{url}">{author}</a> {license}' # Things that will be passed to CONTENT_FOOTER.format(). This is done # for translatability, as dicts are not formattable. Nikola will @@ -678,7 +676,7 @@ CONTENT_FOOTER_FORMATS = { DEFAULT_LANG: ( (), { - "email": BLOG_EMAIL, + "url": "/authors", "author": BLOG_AUTHOR, "date": time.gmtime().tm_year, "license": LICENSE diff --git a/htaccess-apache b/htaccess-apache index 5fe5fa7a57681032496d474750f8468d598dde62..d2f33c22404ff0bfb1ee446cc4dd2b2e991da274 100644 --- a/htaccess-apache +++ b/htaccess-apache @@ -30,6 +30,9 @@ RewriteRule ^(.*[^/])$ /$1.html [L] RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [R=301,L] -Redirect 302 /contact /authors -Redirect 302 /citing /cite +Redirect 302 /contact /doc/latest/pre/authors +Redirect 302 /authors /doc/latest/pre/authors +Redirect 302 /citing /doc/latest/pre/citing +Redirect 302 /cite /doc/latest/pre/citing +Redirect 302 /license /doc/latest/pre/license Redirect 302 /download /install