summaryrefslogtreecommitdiff
path: root/cmd/generate/imworkingon.html.tmpl
blob: fb24ac662bd8d092eac0c8482c01a750ec27a4e8 (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!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">
		<h2>Top themes</h2>
		{{- 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-pending">
		<h2>In-progress work</h2>
		{{- range $contrib := .Contribs }}
		{{- if or (eq $contrib.StatusClass "merged") (eq $contrib.StatusClass "released") }}{{ continue }}{{ end }}
		{{ $upstream := $contrib | getUpstream }}
		<article class="contrib {{ $contrib.StatusClass }}-contrib">
			<div class="contrib-upstream-name"><a class="em" 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: {{ timeTag $contrib.SubmittedAt "2006-01-02" }}</div>
			<div class="contrib-updated">{{ if not $contrib.LastUpdatedAt.IsZero }}Last updated: {{ timeTag $contrib.LastUpdatedAt "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>
	<section id="contribs-completed">
		<h2>Completed work</h2>
		{{- range $contrib := .Contribs }}
		{{- if or (eq $contrib.StatusClass "merged") (eq $contrib.StatusClass "released") | not }}{{ continue }}{{ end }}
		{{ $upstream := $contrib | getUpstream }}
		<article class="contrib {{ $contrib.StatusClass }}-contrib">
			<div class="contrib-upstream-name"><a class="em" 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: {{ timeTag $contrib.SubmittedAt "2006-01-02" }}</div>
			<div class="contrib-updated">{{ if not $contrib.LastUpdatedAt.IsZero }}Last updated: {{ timeTag $contrib.LastUpdatedAt "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 T. Shumaker.</p>
		<p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p>
	</footer>
</body>
</html>