50 lines
2.0 KiB
Diff
50 lines
2.0 KiB
Diff
diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html
|
|
index 8ff160de..85eba08d 100644
|
|
--- a/doc/_templates/layout.html
|
|
+++ b/doc/_templates/layout.html
|
|
@@ -42,16 +42,6 @@
|
|
{# Collect the nav links, forms, and other content for toggling #}
|
|
<div class="collapse navbar-collapse">
|
|
<ul class="nav navbar-nav">
|
|
- <li class="dropdown">
|
|
- <a href="#" class="dropdown-toggle" data-toggle="dropdown"
|
|
- role="button" aria-expanded="false">{{ version }}
|
|
- <span class="caret"></span></a>
|
|
- <ul class="dropdown-menu" role="menu">
|
|
- {% for v in versions.split(',') %}
|
|
- <li><a href="https://fmt.dev/{{v}}">{{v}}</a></li>
|
|
- {% endfor %}
|
|
- </ul>
|
|
- </li>
|
|
{% for name in ['Contents', 'Usage', 'API', 'Syntax'] %}
|
|
{% if pagename == name.lower() %}
|
|
<li class="active"><a href="{{name.lower()}}.html">{{name}}
|
|
@@ -74,23 +64,7 @@
|
|
<div class="jumbotron">
|
|
<div class="tb-container">
|
|
<h1>{fmt}</h1>
|
|
- <p class="lead">A modern formatting library</p>
|
|
- <div class="btn-group" role="group">
|
|
- {% set name = 'fmt' if version.split('.')[0]|int >= 3 else 'cppformat' %}
|
|
- <a class="btn btn-success"
|
|
- href="{{download_url}}/{{version}}/{{name}}-{{version}}.zip">
|
|
- <span class="glyphicon glyphicon-download"></span> Download
|
|
- </a>
|
|
- <button type="button" class="btn btn-success dropdown-toggle"
|
|
- data-toggle="dropdown"><span class="caret"></span></button>
|
|
- <ul class="dropdown-menu">
|
|
- {% for v in versions.split(',') %}
|
|
- {% set name = 'fmt' if v.split('.')[0]|int >= 3 else 'cppformat' %}
|
|
- <li><a href="{{download_url}}/{{v}}/{{name}}-{{v}}.zip">Version {{v}}
|
|
- </a></li>
|
|
- {% endfor %}
|
|
- </ul>
|
|
- </div>
|
|
+ <p class="lead">Small, safe and fast formatting library for C++</p>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
--
|
|
2.25.1
|
|
|