V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
tomoya92
V2EX  ›  问与答

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

  •  
  •   tomoya92 · 2018-09-21 10:03:45 +08:00 · 698 次点击
    这是一个创建于 2052 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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 搭建的博客,没打算换其它的)

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2142 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 02:25 · PVG 10:25 · LAX 19:25 · JFK 22:25
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.