~bigbes/sr-ht-dolt

b6a015582614b2a0ec7d07984db1ce7e8e9f8523 — Eugene Blikh 5 days ago 043b0fd
web: drop the author from a memory's revision line
1 files changed, 8 insertions(+), 1 deletions(-)

M web/templates/memory.html
M web/templates/memory.html => web/templates/memory.html +8 -1
@@ 94,9 94,16 @@
    <h3 class="mem-slug"><a href="/~{{$.Repo.OwnerName}}/{{$.Repo.Name}}/view/memory?key={{.Slug | urlquery}}">{{.Slug}}</a></h3>
    {{if .Stale}}<span class="mem-stale" title="Older than 60 days &mdash; worth a look. Some memories are meant to be permanent.">stale?</span>{{end}}
    <span class="mem-rev">
      {{/* The revision's author is deliberately not shown. bd's embedded Dolt
           commits are all authored "root <root@%>" — verified against the
           sourcehut-artifacts tracker, where every one of the nine memories
           rendered "· root" — and the human is recorded only in the commit
           message ("bd: close (auto-commit) by Eugene Blikh"), and not even in
           every message. A column that says "root" nine times out of nine is
           noise; the commit page behind the hash carries whatever the message
           does say. */}}
      {{with .Revision}}written <span title="{{.Date | abstime}}">{{.Date | agoDays}}</span>
      &middot; <a href="/~{{$.Repo.OwnerName}}/{{$.Repo.Name}}/commit/{{.Commit}}"><code>{{.Commit | shortsha}}</code></a>
      {{- if .Author}} &middot; {{.Author}}{{end}}
      {{- else}}written before the last {{$.Data.WalkMax}} commits{{end}}
    </span>
  </header>