zael
V2EX  ›  问与答

求 Jekyll 插件:相似文章(related_posts)的插件

  •  
  •   zael · Sep 21, 2018 · 1048 views
    This topic created in 2809 days ago, the information mentioned may be changed or developed.

    jekyll 默认自带一个相似文章的功能,在启动的时候后面加上 --lsi 就可以了

    bundle exec jekyll serve --lsi
    

    这个推荐的相似文章效果还挺好的,可惜,github pages 就是不支持

    网上找了很多帖子,其中效果最好的是 jekyll-related-posts 但它只支持 liquid (~> 3.0)

    Bundler could not find compatible versions for gem "liquid":
      In snapshot (Gemfile.lock):
        liquid (= 4.0.0)
    
      In Gemfile:
        jekyll was resolved to 3.6.2, which depends on
          liquid (~> 4.0)
    
        jekyll-related-posts was resolved to 0.1.2, which depends on
          liquid (~> 3.0)
    

    大佬们,你们博客都用的什么推荐相似文章的插件呢?(仅限 jekyll 搭建的博客,没打算换其它的)

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1032 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 18:10 · PVG 02:10 · LAX 11:10 · JFK 14:10
    ♥ Do have faith in what you're doing.