docs/landing/layouts/partials/releases.html
raw| 1 | {{- with $.Site.Data.releases.versions -}} |
| 2 | <section id="releases"> |
| 3 | <h2>Releases</h2> |
| 4 | <table class="table table-striped"> |
| 5 | <thead><tr><th>Release</th><th>Documentation</th></tr></thead> |
| 6 | <tbody> |
| 7 | {{- range . -}} |
| 8 | <tr> |
| 9 | <th class="{{.status}}">{{.version}}</th> |
| 10 | <td><a href="{{.docs}}" class="reference">Reference</a> | <a href="{{.api}}">API</a></td> |
| 11 | </tr> |
| 12 | {{- end -}} |
| 13 | </tbody> |
| 14 | </table> |
| 15 | </section> |
| 16 | {{- end -}} |