What are some good ways to implement breadcrumbs on a Jekyll site?

后端 未结 12 2580
南方客
南方客 2020-12-14 04:47

I\'m aware that there are single-level breadcrumbs in http://raphinou.github.com/jekyll-base/ but I\'m looking for some good ways to have breadcrumbs on a Jekyll sit

12条回答
  •  旧时难觅i
    2020-12-14 05:20

    Thought I might throw this into the mix. This is based on Davelab6's example above, with a few improvements. The active class is set by the last entry in the loop - also contains permalinks for each crumb.

    I haven't tested it with posts yet - but it should work. Let me know if any issues.

    
    

提交回复
热议问题