~sircmpwn/builds.sr.ht

builds.sr.ht/buildsrht/templates/sidebar.html -rw-r--r-- 745 bytes
0467110eDrew DeVault qemu: upgrade to 7.0.0 7 days ago
                                                                                
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
<div class="sidebar">
  {% if user %}
  <h2>
    ~{{ user.username }}
  </h2>
  {% if user.location %}
  <p>{{user.location}}</p>
  {% endif %}
  {% if user.url %}
  <p>
    <a
      href="{{user.url}}"
      target="_blank"
      rel="me noopener noreferrer nofollow"
    >{{user.url}}</a>
  </p>
  {% endif %}
  {% if user.bio %}
  {{user.bio | md}}
  {% endif %}
  <hr />
  {% endif %}
  <p>Embeddable badge for this view:</p>
  {% set badge = request.path + '.svg' + ('?search=' + search if search else '') %}
  <a href="{{badge}}"><img src="{{badge}}" alt="builds.sr.ht status" /></a>
  <p style="margin-top: 1rem"><strong>Markdown</strong></p>
  <pre>[![builds.sr.ht status]({{root}}{{badge}})]({{root}}{{request.full_path}})</pre>
</div>