diff options
author | r <r@freesoftwareextremist.com> | 2020-01-11 07:19:48 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-01-11 07:19:48 +0000 |
commit | f5963f2da54544884f5d44c2df6ab1f50eca7ffb (patch) | |
tree | b5bdcf74d97b9d6b04bd500216e72ee0fcaf210c | |
parent | fb20bdc65e32dbe56f3e8d6eefdc611872dffd84 (diff) | |
download | bloat-f5963f2da54544884f5d44c2df6ab1f50eca7ffb.tar.gz bloat-f5963f2da54544884f5d44c2df6ab1f50eca7ffb.zip |
Use url fragment for post link on thread page
-rw-r--r-- | templates/status.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/status.tmpl b/templates/status.tmpl index 24c318f..d996eec 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -133,7 +133,7 @@ </a> </div> <div class="status-action"> - <a class="status-time" href="/thread/{{.ID}}#status-{{.ID}}" {{if .ThreadInNewTab}}target="_blank"{{end}}> + <a class="status-time" href="{{if not .ShowReplies}}/thread/{{.ID}}{{end}}#status-{{.ID}}" {{if .ThreadInNewTab}}target="_blank"{{end}}> <time datetime="{{FormatTimeRFC3339 .CreatedAt}}" title="{{FormatTimeRFC822 .CreatedAt}}"> {{TimeSince .CreatedAt}} </time> </a> </div> |