chore: add view thread
This commit is contained in:
parent
14e1c4176d
commit
7d336285bf
@ -203,7 +203,7 @@ func (r *HTWriter) WriteTo(w io.Writer) (int64, error) {
|
||||
|
||||
<div class="date">
|
||||
<div><a class="u-url" href="%s">%s</a></div>
|
||||
<div><small> </small></div>
|
||||
<div><small><a href="%s"> View Thread</a></small></div>
|
||||
</div>
|
||||
</header>
|
||||
<section>
|
||||
@ -215,7 +215,7 @@ func (r *HTWriter) WriteTo(w io.Writer) (int64, error) {
|
||||
"/?uri="+twter.URI, twter.Nick,
|
||||
twter.URI, uri.Host,
|
||||
"/conv/"+twt.Subject().Tag().Text(), fmt.Sprintf("<time datetime='%s'>%s</time>", twt.Created().Format(time.RFC3339), twt.Created().Format(time.RFC822)),
|
||||
// time.Since(twt.Created()).Round(time.Minute).String(),
|
||||
"/conv/"+twt.Subject().Tag().Text(),
|
||||
twt,
|
||||
)
|
||||
output += int64(i)
|
||||
|
Loading…
x
Reference in New Issue
Block a user