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

后端 未结 12 2575
南方客
南方客 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条回答
  •  误落风尘
    2020-12-14 05:04

    This is how I implemented breadcrumbs in a site I inherited, which is based off some of the other versions here. In our case, some of our folders didn't contain an index.html page. Therefore, clicking on a breadcrumb that linked to a folder with no index.html in it would cause an error. This could have been eliminated with a better file structure, but I wasn't able to change that.

    Here is what I came up with.

    
    

提交回复
热议问题