Open jerryc127 opened 5 years ago
@jerryc127 What are you using the theme ? Some of the themes are out of support because they operate out of specification.
Hey can you fix this plugin for this theme Matery Theme? There is no show up when i apply your code.. post content is HERE
@jerryc127
You might have noticed that the following message was printed. "(list-json.js)The theme you are using doesn't support "post" data. Please set the data manually. (e.g. <%- popular_posts( {} , post ) %> )"
popular_posts function is need to params (options and post). so you change code bellow in article.ejs file
-- before <%- popular_posts () %> -- to-be <%- popular_posts ({}, { post: post }) %>
you can check popular_posts function spec to node_modules/hexo-related-popular-posts/lib/helper.js
Also , if you occur
DTraceProviderBindings.node
error , please see issue#1. https://github.com/tea3/hexo-related-popular-posts/issues/1For BUG
For question
just push question
For feature request
just push feature request
Environment Info
OS version
Node version(
node -v
)Your site
_config.yml
Your theme
_config.yml
Plugin version(
npm ls --depth 0
)how to solve this problem?