summaryrefslogtreecommitdiff
path: root/cmd/generate/imworkingon.html.tmpl
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-04-29 15:12:06 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-04-29 15:14:16 -0600
commited194592ed3378e4e870a26efb726b6e1c0fc7ed (patch)
tree278c0ad7562e8bd8bec2bf0e2c8f57f407aeb13b /cmd/generate/imworkingon.html.tmpl
parent888c11cebe88008a1fdf64f7a10b010237ad1411 (diff)
imworkingon: v0 of last-updated-by
Diffstat (limited to 'cmd/generate/imworkingon.html.tmpl')
-rw-r--r--cmd/generate/imworkingon.html.tmpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/cmd/generate/imworkingon.html.tmpl b/cmd/generate/imworkingon.html.tmpl
index c1ea442..85a56e1 100644
--- a/cmd/generate/imworkingon.html.tmpl
+++ b/cmd/generate/imworkingon.html.tmpl
@@ -51,7 +51,12 @@
{{- 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-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 }}