Skip to content

Instantly share code, notes, and snippets.

@siddhartha-gadgil
Created January 22, 2018 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save siddhartha-gadgil/3556c6805431c5b546cafa2dbe30b297 to your computer and use it in GitHub Desktop.
Save siddhartha-gadgil/3556c6805431c5b546cafa2dbe30b297 to your computer and use it in GitHub Desktop.
---
title: Publications - Dept of Mathematics, IISc
---
<div class="row">
<div class="col-md-12">
<h2> Publications (by year) </h2>
{% assign years = site.data.pubs | group_by: "year" | sort: 'name' | reverse %}
<ul class="list-inline">
{% for y in years limit: 15 %}
<li> <a href="#{{y.name}}"> {{y.name}} </a> </li>
{% endfor %}
<li><a href="#{{years[15].name}}">{{years[15].name}} and earlier</a> </li>
</ul>
{% for y in years %}
<h4 id ="{{y.name}}">Year: {{y.name}}</h4>
<p><a href="#">Top</a></p>
<ol>
{% assign yearpubs = y.items | sort: 'author' %}
{% for paper in yearpubs %}
<li>
{% if paper.author %} {{ paper.author }}{% else %} {{paper.editor}} (Ed.){% endif %},
<em>{{ paper.title }}</em>, {{ paper.journal }} {{ paper.booktitle }}, <strong>{{paper.volume}} </strong> ({{paper.year}}), {{paper.pages}}.
</li>
{% endfor %}
</ol>
{% endfor %}
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment