{{define "title"}}{{.resource.title}} {{end}} {{define "seo"}} {{end}} {{define "content"}} {{include "common/suspend.html" .}}

{{.resource.title}}

{{.resource.user.Username}} · · {{add .resource.viewnum 1}} 次点击     {{if canEdit .me .resource}} 编辑 {{end}}
{{if gt (distanceDay .resource.ctime) 100 }}
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
{{end}}
{{if eq .resource.form "只是链接"}}传送门: {{if hasPrefix .resource.url "/r/golang/"}}https://reddit.com{{end}}{{.resource.url}}{{else}}{{.resource.content}}{{end}}
{{include "common/promotion.html" .}}
{{add .resource.viewnum 1}} 次点击  {{if .resource.likenum}}∙  {{.resource.likenum}} 赞   {{end}}
{{if .hadcollect}}取消收藏{{else}}加入收藏{{end}} 微博
{{if .resource.tags}} {{$tags := explode .resource.tags ","}} {{range $tags}}
  • {{.}}
    {{end}} {{end}}
    {{.resource.cmtnum}} 回复 {{if .resource.cmtnum}} |  直到 {{end}}
    {{include "common/comment-page.html" .}}
    暂无回复
    {{include "common/comment-page.html" .}}
    {{template "comment" .}} {{include "common/view_stat.html" .}}
    {{include "common/my_info.html" .}} {{if .pos_ad.right1}} {{end}} {{include "sidebar/view_rank.html" (parseJSON `{"rank_title":"今日阅读排行","objtype":2,"limit":10,"rank_type":"today"}`)}} {{if .pos_ad.right2}} {{end}} {{include "sidebar/view_rank.html" (parseJSON `{"rank_title":"一周阅读排行","objtype":2,"limit":10,"rank_type":"week"}`)}} {{include "sidebar/topic.html" .}}
    {{end}} {{define "css"}} {{include "cssjs/prism.css.html" .}} {{end}} {{define "js"}} {{include "cssjs/prism.js.html" .}} {{if .pos_ad.right1}} {{if eq .pos_ad.right1.AdType 1}} {{noescape .pos_ad.right1.Code}} {{end}} {{end}} {{if .pos_ad.right2}} {{if eq .pos_ad.right2.AdType 1}} {{noescape .pos_ad.right2.Code}} {{end}} {{end}} {{end}}