Skip to content

Commit

Permalink
link comments to jabble (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
fdietze authored Jun 29, 2024
1 parent c3bde44 commit 240c92c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions templates/score.html.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,11 @@ function drawCharts() {
{{end}}


<a href="https://news.ycombinator.com/item?id={{.ID}}" title="{{.ISOTimestamp}}">{{.AgeString}}</a>
<a href="https://sn.fly.dev/hn/{{.ID}}" title="{{.ISOTimestamp}}">{{.AgeString}}</a>

|

<a href="https://news.ycombinator.com/item?id={{.ID}}">{{if (eq .Comments 0)}}discuss{{else}}{{.Comments}}&nbsp;comments{{end}}</a>
<a href="https://sn.fly.dev/hn/{{.ID}}">{{if (eq .Comments 0)}}discuss{{else}}{{.Comments}}&nbsp;comments{{end}}</a>

</span>
</div>
Expand Down
6 changes: 3 additions & 3 deletions templates/storyDetails.html.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@

{{/*if .IsResubmitted}}
<span class="original-age" title="{{.OriginalISOTimestamp}}">{{.OriginalAgeString}}</span>
<a href="https://news.ycombinator.com/item?id={{.ID}}" title="2nd-Chance Pool submission time: {{.ISOTimestamp}}" class="resubmitted-age">{{.AgeString}}</a>
<a href="https://sn.fly.dev/hn/{{.ID}}" title="2nd-Chance Pool submission time: {{.ISOTimestamp}}" class="resubmitted-age">{{.AgeString}}</a>
{{else*/}}
<a href="https://news.ycombinator.com/item?id={{.ID}}" title="{{.ISOTimestamp}}">{{.AgeString}}</a>
<a href="https://sn.fly.dev/hn/{{.ID}}" title="{{.ISOTimestamp}}">{{.AgeString}}</a>

|

<a href="https://news.ycombinator.com/item?id={{.ID}}">{{if (eq .Comments 0)}}discuss{{else}}{{.Comments}}&nbsp;comments{{end}}</a>
<a href="https://sn.fly.dev/hn/{{.ID}}">{{if (eq .Comments 0)}}discuss{{else}}{{.Comments}}&nbsp;comments{{end}}</a>

<span class="vote" id="vote-{{.ID}}">
|
Expand Down

0 comments on commit 240c92c

Please sign in to comment.