Merge "remove redundant series variable from install guide list template"
This commit is contained in:
commit
b2907ad188
@ -1,10 +1,9 @@
|
|||||||
{% set series = 'latest' %}
|
{% set series = "latest" %}
|
||||||
{% set projects = PROJECT_DATA[series] %}
|
{% set projects = PROJECT_DATA[series] %}
|
||||||
{% set scriptdir = '../../common/js/' %}
|
{% set scriptdir = '../../common/js/' %}
|
||||||
{% set cssdir = '../../common/css/' %}
|
{% set cssdir = '../../common/css/' %}
|
||||||
{% set imagedir = '../../common/images/' %}
|
{% set imagedir = '../../common/images/' %}
|
||||||
|
|
||||||
{% set SERIES = "latest" %}
|
|
||||||
|
|
||||||
{% extends "templates/base.tmpl" %}
|
{% extends "templates/base.tmpl" %}
|
||||||
{% block pagetitle %}Draft Installation Tutorials and Guides{% endblock %}
|
{% block pagetitle %}Draft Installation Tutorials and Guides{% endblock %}
|
||||||
@ -53,7 +52,7 @@
|
|||||||
|
|
||||||
{% for project in projects|sort(attribute='service') -%}
|
{% for project in projects|sort(attribute='service') -%}
|
||||||
{% if project.has_install_guide %}
|
{% 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 %}
|
{% endif %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user