tea3 / hexo-related-popular-posts

A hexo plugin that generates a list of links to related posts and popular posts. Also , this plugin can get Visitor Counts (PV) on posts.
MIT License
109 stars 14 forks source link

Support sub-path URL configuration with popular posts feature #19

Closed lulzneko closed 5 years ago

lulzneko commented 5 years ago

This pull request is to enhance the features of popular articles. This enhances the behavior when the website is placed in the sub-path rather than at the top of the domain.

For example, when a website is placed on https://example.com/sub/20019/04/18/title, the feature of popular article works as follows and does not match. -hexo-related-popular-posts: 2019/04/18/title -ga-analytics: sub/2019/04/18/title

Use Hexo's URL configuration root to enhance popular article functionality. This configuration includes setting up the website subpath.

Hexo URL settings ("Sub-path" is written as "subdirectory" in the Hexo documentation) https://hexo.io/docs/configuration#URL

Thank you for developing a wonderful plugin. This plugin is an innovation in the static site generator world! !

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 78.947% when pulling 5a16779d13ebdb90a1eb4c5d1835688ce2a882e0 on lulzneko:master into d9e7687fb6f34a8004cec099f6eb292ff8cae9bf on tea3:master.

tea3 commented 5 years ago

@lulzneko Pull Requestとご指摘を頂きましてありがとうございました!本日中にnpm versionのアップデートさせていただきますので宜しくお願いします^^ プラグインをご利用いただき光栄です!

lulzneko commented 5 years ago

@tea3 npm の バージョンアップありがとうございます。 動作確認することができました!