openstack-manuals/www/pike/user/index.html
Andreas Jaeger e852bb5626 add SERIES_TITLE template variable
Add a variable to hold the title of the series for a given
template. This is set to the name, regardless of whether the series is
the "latest" or not.

Change-Id: I3ca9b19b9e46478107f4c689f85772f15863557a
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-24 16:24:43 -04:00

63 lines
2.2 KiB
HTML

{% set projects = PROJECT_DATA[SERIES] %}
{% extends "templates/base.tmpl" %}
{% block pagetitle %}{{SERIES_TITLE}} User Guides{% endblock %}
{% block title %}
<a href="https://docs.openstack.org">Documentation</a> &gt; User Guides
{% endblock %}
{% block content %}
<!-- Begin Page Content -->
<div class="top-docs-wrapper">
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-8 col-sm-8">
<h1>OpenStack {{SERIES_TITLE}} Project User Guides</h1>
<p>
This page contains project-specific documentation for
using OpenStack services and libraries.
</p>
</div>
</div>
</div>
<div class="mid-docs-wrapper" id="docs-main-body">
<div class="container">
<div class="row">
<div class="col-lg-12">
</div>
</div>
<div class="row docs-toc">
<div class="col-lg-6 col-md-6 col-sm-6">
<div class="docs-link-sections">
<h3><i class="fa fa-cog"></i> OpenStack Services</h3>
{% for project in projects|sort(attribute='service') %}
{% if project.type in ['service', 'other'] and project.has_user_guide %}
<a href="/{{project.name}}/{{SERIES}}/user/">
{{project.service}} ({{project.name}})</a><br />
{% endif %}
{% endfor %}
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-6">
<div class="docs-link-sections">
<h3><i class="fa fa-cog"></i> Client Libraries</h3>
{% for project in projects|sort(attribute='name') %}
{% if project.type in ['client'] and project.has_user_guide %}
<a href="/{{project.name}}/{{SERIES}}/">{{project.name}}</a><br />
<p>{{project.service}} </p>
{% endif %}
{% endfor %}
</div>
</div>
<div class="row docs-contribute-wrapper">
<div class="col-lg-12">
<p>Documentation treated like code, powered by the community - interested?</p>
<a href="/contributor-guide/" class="overview-btn contribute-btn">How To Contribute <i class="fa fa-chevron-right"></i></a>
</div>
</div>
</div>
</div>
{% endblock content %}