rezgui/wn-blogviews-plugin

Extension to the Winter.Blog plugin by add views tracking to blog posts

Fund package maintenance!
standard
feross

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 5

Open Issues: 0

Type:winter-plugin

v1.0.16 2024-11-01 05:53 UTC

This package is auto-updated.

Last update: 2024-12-31 06:25:46 UTC


README

blogviews Logo

Blog Views Extension

This plugin is an extension to the Winter.Blog plugin. This extension add views tracking to blog posts and allows to add views counter to a post and display popular posts widget.

Adds dynamic views property to Post model: {{ post.views }}

Components

Popular Posts

The popularPosts component can be used to display top viewed posts.

  • postsLimit - The max number of posts to show.
  • postPage - Reference to the page name for linking to posts.
  • noPostsMessage - Message to display when there are no posts.

Views (counter)

The Views component can be used to display post views number. In most cases use just {{ post.views }} without this component.