summaryrefslogtreecommitdiff
path: root/cmd/generate/imworkingon.html.tmpl
blob: 6004fffc2080651d77607ee6890cf66c52641655 (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
59
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Luke is working on…</title>
    <link rel="stylesheet" type="text/css" href="../blog/assets/style.css">
    <link rel="stylesheet" type="text/css" href="imworkingon.css">
  </head>
  <body>
    <header><a href="/">Luke T. Shumaker</a> » imworkingon</header>

    <section id="intro">
      <h1>Luke is working on<br/><small>improving the GNU/Linux ecosystem</small></h1>
      <p>If you find this work valuable, please
	consider <a class="em" href="../sponsor/">sponsoring me</a>.</p>
    </section>

    <section id="tags">
      {{- range $tagName, $tagInfo := .Tags }}
      <article class="tag" id="tag-{{ $tagName }}">
	<h2><a href="#tag-{{ $tagName }}">#{{ $tagName }}</a> : {{ $tagInfo.PrettyName }}</h2>
	<div clasg="tag-desc">{{ $tagInfo.Desc | md2html }}</div>
      </article>
      {{- end }}
    </section>

    <section id="contribs">
      {{- range $contrib := .Contribs }}
      {{ $upstream := $contrib | getUpstream }}
      <article class="contrib">
	<div class="contrib-upstream-name"><a href="{{ index $upstream.URLs 0 }}">{{ $upstream.Name }}</a></div>
	<div class="contrib-upstream-desc">{{ $upstream.Desc | md2html }}</div>
	<div class="contrib-urls">
	  {{- range $url := $contrib.URLs }}
	  <a href="{{ $url }}"><tt>{{ $url }}</tt></a><br />
	  {{- end }}
	</div>
	<div class="contrib-tags">
	  {{- range $tag := $contrib.Tags }}
	  <a href="#tag-{{ $tag }}">#{{ $tag }}</a> {{/* */}}
	  {{- end }}
	</div>
	<div class="contrib-submitted">Submitted: {{ $contrib.SubmittedAt.Format "2006-01-02" }}</div>
	<div class="contrib-updated">{{ if not $contrib.LastUpdatedAt.IsZero }}Last updated: {{ $contrib.LastUpdatedAt.Format "2006-01-02" }}{{ end }}</div>
	<div class="contrib-status">Status: {{ $contrib.Status }}</div>
	<div class="contrib-desc">
	  {{- $contrib.Desc | md2html }}
	  {{- if $contrib.SponsoredBy }}<p>Sponsored-by: {{ $contrib.SponsoredBy }}</p>{{ end -}}
	</div>
      </article>
      {{- end }}
    </section>

    <footer>
      <p>The content of this page is Copyright © Luke Shumaker.</p>
      <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/3.0/">CC BY-SA-3.0</a> license.</p>
    </footer>
  </body>
</html>