summaryrefslogtreecommitdiffstats
path: root/docs/templates/index.html.j2
blob: 2df77b62ed75a3d1e6ec2770fefbada00d9fe093 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="en">
{% include "shared/_head.html.j2" %}

  <body>
{% include "shared/_navbar.html.j2" %}

    <main id="main" class="container-lg">
      <div class="row">
        <div class="col-md-6 text-center p-3">
          <h1><img src="{{ root }}/jq.svg" class="img-fluid" alt="jq" width="400" height="220"></h1>
        </div>
        <div class="col-md-6 d-flex flex-column justify-content-center text-center align-items-center">
          <h2 class="px-1" style="width:16em">{{ blurb }}</h2>
          <div class="btn-group d-print-none" role="group">
            <button type="button" class="btn btn-primary dropdown-toggle text-nowrap" data-bs-toggle="dropdown" aria-expanded="false">
              Download jq 1.7.1
              <span class="caret"></span>
            </button>
            <ul class="dropdown-menu">
              <li><a class="dropdown-item" href="https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux-amd64" aria-label="Link to download executable: Linux (AMD64)"><span class="bi bi-download me-2" aria-hidden="true"></span>Linux (AMD64)</a></li>
              <li><a class="dropdown-item" href="https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux-arm64" aria-label="Link to download executable: Linux (ARM64)"><span class="bi bi-download me-2" aria-hidden="true"></span>Linux (ARM64)</a></li>
              <li><a class="dropdown-item" href="https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-macos-amd64" aria-label="Link to download executable: macOS (AMD64)"><span class="bi bi-download me-2" aria-hidden="true"></span>macOS (AMD64)</a></li>
              <li><a class="dropdown-item" href="https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-macos-arm64" aria-label="Link to download executable: macOS (ARM64)"><span class="bi bi-download me-2" aria-hidden="true"></span>macOS (ARM64)</a></li>
              <li><a class="dropdown-item" href="https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-windows-amd64.exe" aria-label="Link to download executable: Windows (AMD64)"><span class="bi bi-download me-2" aria-hidden="true"></span>Windows (AMD64)</a></li>
              <li><a class="dropdown-item" href="{{ root }}/download/">Other platforms, older versions, and source</a></li>
            </ul>
            <a class="btn btn-primary text-nowrap" href="https://jqplay.org" target="_blank" rel="noopener">
              Try online at jqplay.org!<span class="bi bi-box-arrow-up-right ms-1" aria-hidden="true"></span>
            </a>
          </div>
        </div>
      </div>

      <div class="row my-3">
        <div class="col-md-4">{{ body1 | markdownify }}</div>
        <div class="col-md-4">{{ body2 | markdownify }}</div>
        <div class="col-md-4">{{ body3 | markdownify }}</div>
      </div>

      <div class="text-center my-3">
        {{ tail | markdownify }}
      </div>

      <h2>News</h2>
      <ul>
        {%- for item in news %}
        <li>
          <span class="fst-italic">{{ item.date }}</span>
          {{ item.body | markdownify }}
        </li>
        {%- endfor %}
      </ul>
    </main>

{% include "shared/_footer.html.j2" %}
  </body>
</html>