Permalink
Switch branches/tags
Find file Copy path
41 lines (38 sloc) 1.04 KB
{% extends "default.html" %}
{% block content %}
<section class="hero is-primary" style="background-image: url(/{{ hashes['images/bg-pattern-dark.png'] }})">
<div class="hero-body">
<div class="container">
<h1 class="title">
Documentation
</h1>
</div>
</div>
</section>
<div class="container">
<section class="section">
<nav class="breadcrumb">
<ul>
<li><a href="/" style="padding-left: 0">Fastify</a></li>
<li class="is-active"><a>Documentation</a></li>
</ul>
</nav>
<div class="content">
<h2>Select version</h2>
<ul>
{% for v in data.docs.versions %}
{% if v !== 'latest' %}
{% set versionName = v %}
{% if v === data.docs.versions[1] %}
{% set versionName = versionName + ' (latest)' %}
{% endif %}
<li>
<a href="/docs/{{ v }}">{{ versionName }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</section>
</div>
{% endblock %}