remove redundant series variable from install guide list template
The other templates use lower case "series" as the variable name, so be consistent here and remove the duplicate variable SERIES. Change-Id: I3d96f7242dee55e2bc651b3515be7a43d49358bb Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
a5d6d6b4b2
commit
0c9c01db1b
@ -1,10 +1,9 @@
|
||||
{% set series = 'latest' %}
|
||||
{% set series = "latest" %}
|
||||
{% set projects = PROJECT_DATA[series] %}
|
||||
{% set scriptdir = '../../common/js/' %}
|
||||
{% set cssdir = '../../common/css/' %}
|
||||
{% set imagedir = '../../common/images/' %}
|
||||
|
||||
{% set SERIES = "latest" %}
|
||||
|
||||
{% extends "templates/base.tmpl" %}
|
||||
{% block pagetitle %}Draft Installation Tutorials and Guides{% endblock %}
|
||||
@ -37,7 +36,7 @@
|
||||
<ul>
|
||||
{% for project in projects|sort(attribute='service') -%}
|
||||
{% if project.has_install_guide %}
|
||||
<li><a href="/{{project.name}}/{{SERIES}}/install/">{{project.service}} ({{project.name|title}})</a></li>
|
||||
<li><a href="/{{project.name}}/{{series}}/install/">{{project.service}} ({{project.name|title}})</a></li>
|
||||
{% endif %}
|
||||
{%- endfor %}
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user