diff options
Diffstat (limited to 'cmd/generate/imworkingon.html.tmpl')
-rw-r--r-- | cmd/generate/imworkingon.html.tmpl | 160 |
1 files changed, 0 insertions, 160 deletions
diff --git a/cmd/generate/imworkingon.html.tmpl b/cmd/generate/imworkingon.html.tmpl deleted file mode 100644 index 85a56e1..0000000 --- a/cmd/generate/imworkingon.html.tmpl +++ /dev/null @@ -1,160 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>Luke is working onβ¦</title> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <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> - <nav> - <p>This page provides several views into what I'm doing to improve the ecosystem:</p> - <ol> - <li><a href="#tags">Top themes</a></li> - <li><a href="#contribs-pending">In-progress work</a></li> - <li><a href="#contribs-completed">Completed work</a></li> - <li><a href="#standups">Daily statuses</a></li> - </ol> - </nav> - <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 <a href="#tags">π</a></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> - -{{- define "contrib" }} - {{ $contrib := . }} - {{ $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 }}"><code>{{ $url }}</code></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" }} - {{- if $contrib.LastUpdatedBy.Name }} by <a href="{{ $contrib.LastUpdatedBy.URL }}">{{ $contrib.LastUpdatedBy.Name }}</a>{{ end }} - {{- 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 id="contribs-pending"> - <h2>In-progress work <a href="#contribs-pending">π</a></h2> - {{- range $contrib := .Contribs }} - {{- if or (eq $contrib.StatusClass "merged") (eq $contrib.StatusClass "released") }}{{ continue }}{{ end }} - {{ template "contrib" $contrib }} - {{- end }} - </section> - <section id="contribs-completed"> - <h2>Completed work <a href="#contribs-completed">π</a></h2> - {{- range $contrib := .Contribs }} - {{- if or (eq $contrib.StatusClass "merged") (eq $contrib.StatusClass "released") | not }}{{ continue }}{{ end }} - {{ template "contrib" $contrib }} - {{- end }} - </section> - <section id="standups"> - <h2>Daily statuses <a href="#standups">π</a></h2> - <p>Posted daily on <a href="https://fosstodon.org/@lukeshu">Mastodon</a> with the #DailyStandup tag.</p> - - <details><summary>Calendar view</summary> - <table> - <thead> - <tr> - <th></th> - <th><abbr title="Sunday">Su</abbr></th> - <th><abbr title="Monday">M</abbr></th> - <th><abbr title="Tuesday">Tu</abbr></th> - <th><abbr title="Wednesday">W</abbr></th> - <th><abbr title="Thursday">Th</abbr></th> - <th><abbr title="Friday">F</abbr></th> - <th><abbr title="Saturday">S</abbr></th> - <th></th> - </tr> - </thead> - <tbody> - {{- $cal := .StandupCalendar }} - {{- $curSunMonth := 0 }} - {{- $curSatMonth := 0 }} - {{- range $i, $week := reverse .StandupCalendar }} - <tr> - {{- $sun := (index $week time.Sunday) }} - {{- if not $sun.Day }} - <th></th> - {{- else if ne $sun.Month $curSunMonth }} - <th class="{{ monthClass $sun.Month }}" rowspan="{{ $cal.NumWeekdaysInMonth time.Sunday $sun.Date }}"> - <span>{{ $sun.Month }} {{ $sun.Year }}</span> - </th> - {{- $curSunMonth = $sun.Month }} - {{- end }} - {{- range $day := $week }} - {{- if not $day.Day }} - <td></td> - {{- else if not $day.Data }} - <td class="{{ monthClass $day.Month }}"> - {{ $day.Day }} - </td> - {{- else }} - <td class="{{ monthClass $day.Month }}"> - <a href="#standup-id-{{ $day.Data.ID }}"> - {{ $day.Day }} - </a> - </td> - {{- end }} - </td> - {{- end }} - {{- $sat := (index $week time.Saturday) }} - {{- if not $sat.Day }} - <th></th> - {{- else if ne $sat.Month $curSatMonth }} - <th class="{{ monthClass $sat.Month }}" rowspan="{{ $cal.NumWeekdaysInMonth time.Saturday $sat.Date }}"> - <span>{{ $sat.Month }} {{ $sat.Year }}</span> - </th> - {{- $curSatMonth = $sat.Month }} - {{- end }} - {{- end }} - </tr> - </tbody> - </table> - </details> - - {{- range $status := .Standups }} - <article class="standup" id="standup-id-{{ $status.ID }}"> - <div class="standup-title"><a href="{{ $status.URL }}">{{ timeTag $status.CreatedAt "Mon 2006-01-02" }}</a></div> - <div class="standup-content">{{ $status.Content }}</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> |