Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

浏览计数插件化 #11

Closed
88250 opened this issue Jan 13, 2020 · 0 comments
Closed

浏览计数插件化 #11

88250 opened this issue Jan 13, 2020 · 0 comments
Assignees
Milestone

Comments

@88250
Copy link
Owner

88250 commented Jan 13, 2020

文章浏览计数、博客浏览计数将通过引入 js 插件实现统计和展现,该插件由社区提供,数据存储和服务接口均在社区实现。


皮肤需要修改:文章列表浏览数、博客访问总数、文章页面浏览数,在出现这些计数变量的地方用 span 包上,例如:

<span data-uvstaturl="{{.Article.URL}}">{{.Article.ViewCount}}</span>
@88250 88250 added this to the 1.9.1 milestone Jan 13, 2020
@88250 88250 self-assigned this Jan 13, 2020
88250 added a commit that referenced this issue Jan 13, 2020
@88250 88250 modified the milestones: 1.9.1, 2.0.0 Jan 16, 2020
88250 added a commit that referenced this issue Jan 19, 2020
88250 added a commit that referenced this issue Jan 19, 2020
@88250 88250 closed this as completed in 8ee7bb6 Jan 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant