diff --git a/tools/www-generator.py b/tools/www-generator.py index a7e7db0952..c7db4b736c 100755 --- a/tools/www-generator.py +++ b/tools/www-generator.py @@ -305,11 +305,11 @@ def render_template(environment, project_data, regular_repos, infra_repos, PAST_SERIES=PAST_SERIES, RELEASED_SERIES=RELEASED_SERIES, SERIES_IN_DEVELOPMENT=SERIES_IN_DEVELOPMENT, - topdir=topdir, - scriptdir=scriptdir, - cssdir=cssdir, - imagedir=imagedir, - series=series, + TOPDIR=topdir, + SCRIPTDIR=scriptdir, + CSSDIR=cssdir, + IMAGEDIR=imagedir, + SERIES=series, **extra ) if template_file.endswith('.html'): diff --git a/www/errorpage.html b/www/errorpage.html index d899b5c548..8868088ef3 100644 --- a/www/errorpage.html +++ b/www/errorpage.html @@ -4,10 +4,10 @@ +
This page contains documentation about administering OpenStack services.
@@ -25,7 +25,7 @@This page contains documentation about the OpenStack API and how to use it.
@@ -35,7 +35,7 @@ API Reference {% endif %} {% if project.has_in_tree_api_docs %} - API Guide + API Guide {% endif %} {% if project.has_api_guide %} API Guide diff --git a/www/pike/configuration/index.html b/www/pike/configuration/index.html index 7c07dbcd35..908fd9ac67 100644 --- a/www/pike/configuration/index.html +++ b/www/pike/configuration/index.html @@ -1,4 +1,4 @@ -{% set projects = PROJECT_DATA[series] %} +{% set projects = PROJECT_DATA[SERIES] %} {% extends "templates/base.tmpl" %} {% block pagetitle %}Configuration Guides{% endblock %} {% block title %} @@ -10,7 +10,7 @@This page contains documentation about configuring OpenStack services.
@@ -23,12 +23,12 @@These documents cover installation procedures for OpenStack services. @@ -47,7 +47,7 @@ {% for project in projects|sort(attribute='service') -%} {% if project.type in ['service', 'other'] and project.has_install_guide %} -
This page contains documentation about the Python bindings provided by OpenStack and how to use them. @@ -26,7 +26,7 @@
User guide for the OpenStack dashboard and command-line clients.
- + Unified OpenStack Clientdiff --git a/www/pike/projects.html b/www/pike/projects.html index 187f652d7d..71f5ab2834 100644 --- a/www/pike/projects.html +++ b/www/pike/projects.html @@ -1,4 +1,4 @@ -{% set projects = PROJECT_DATA[series] %} +{% set projects = PROJECT_DATA[SERIES] %} {% extends "templates/base.tmpl" %} {% block pagetitle %}Services and Libraries{% endblock %} {% block title %} @@ -10,7 +10,7 @@
This page contains project-specific documentation for OpenStack services and libraries. diff --git a/www/pike/user/index.html b/www/pike/user/index.html index 6dd5660221..53e19f44d4 100644 --- a/www/pike/user/index.html +++ b/www/pike/user/index.html @@ -1,4 +1,4 @@ -{% set projects = PROJECT_DATA[series] %} +{% set projects = PROJECT_DATA[SERIES] %} {% extends "templates/base.tmpl" %} {% block pagetitle %}User Guides{% endblock %} {% block title %} @@ -10,7 +10,7 @@
This page contains project-specific documentation for using OpenStack services and libraries. @@ -31,7 +31,7 @@
{{project.service}}
{% endif %} {% endfor %} diff --git a/www/templates/base.tmpl b/www/templates/base.tmpl index 67bbdbeb6c..ceda1f8d54 100644 --- a/www/templates/base.tmpl +++ b/www/templates/base.tmpl @@ -3,12 +3,13 @@ + + {% block header %}{% endblock %}