aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-01-11 07:19:48 +0000
committerr <r@freesoftwareextremist.com>2020-01-11 07:19:48 +0000
commitf5963f2da54544884f5d44c2df6ab1f50eca7ffb (patch)
treeb5bdcf74d97b9d6b04bd500216e72ee0fcaf210c
parentfb20bdc65e32dbe56f3e8d6eefdc611872dffd84 (diff)
downloadbloat-f5963f2da54544884f5d44c2df6ab1f50eca7ffb.tar.gz
bloat-f5963f2da54544884f5d44c2df6ab1f50eca7ffb.zip
Use url fragment for post link on thread page
-rw-r--r--templates/status.tmpl2
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>