mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-25 16:49:26 +01:00
Remove leftover code
This commit is contained in:
parent
6e682b6bc1
commit
5ed29ea1a1
@ -85,32 +85,6 @@ html
|
||||
-
|
||||
var link = post;
|
||||
include components/link.pug
|
||||
//-.entry.t3
|
||||
//- .upvotes
|
||||
//- .arrow
|
||||
//- span #{kFormatter(post.ups)}
|
||||
//- .arrow.down
|
||||
//- .image
|
||||
//- if post.thumbnail !== 'self'
|
||||
//- a(href="" + post.permalink + "", rel="noopener noreferrer")
|
||||
//- img(src="" + post.thumbnail + "", alt="")
|
||||
//- if post.duration
|
||||
//- span #{secondsToMMSS(post.duration)}
|
||||
//- else
|
||||
//- a(href="" + post.permalink + "", rel="noopener noreferrer")
|
||||
//- .no-image no image
|
||||
//- .title
|
||||
//- a(href="" + post.permalink + "", rel="noopener noreferrer") #{cleanTitle(post.title)}
|
||||
//- .meta
|
||||
//- p.submitted(title="" + toUTCString(post.created) + "") submitted #{timeDifference(post.created)}
|
||||
//- | by
|
||||
//- a(href="/u/" + data.username + "") #{data.username}
|
||||
//- | to
|
||||
//- != post.user_flair
|
||||
//- a(href="/r/" + post.subreddit + "", class="subreddit") #{post.subreddit}
|
||||
//- if post.over_18
|
||||
//- span.tag.nsfw NSFW
|
||||
//- a.comments(href="" + post.permalink + "") #{post.num_comments} comments
|
||||
if post.type === 't1'
|
||||
.commententry
|
||||
.meta
|
||||
|
Loading…
Reference in New Issue
Block a user