inukshuk / jekyll-scholar

jekyll extensions for the blogging scholar
MIT License
1.12k stars 102 forks source link

Create an index with bibliography filters #267

Open antoinentl opened 5 years ago

antoinentl commented 5 years ago

I want to create an index on a (big) bibliography page, with the items sorted by the first letter of the name of the author (or the first author for multiples authors). Here the way I find and a bibliography filter:

<h2 id="bib-a">A</h2>
{% bibliography --query @*[author ^= A*] %}

<h2 id="bib-b">B</h2>
{% bibliography --query @*[author ^= B*] %}

I think I'm very close to find a solution, any help is welcome!