Skip to content

Commit

Permalink
Added "year" variable to for loop in sample template
Browse files Browse the repository at this point in the history
  • Loading branch information
jvkersch committed Aug 3, 2013
1 parent 99834ec commit 50d7706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ using `forceescape`.
<section id="content" class="body">
<h1 class="entry-title">Publications</h1>
<ul>
{% for key, text, bibtex, pdf, slides, poster in publications %}
{% for key, year, text, bibtex, pdf, slides, poster in publications %}
<li id="{{ key }}">{{ text }}
[&nbsp;<a href="javascript:disp('{{ bibtex|replace('\n', '\\n')|escape|forceescape }}');">Bibtex</a>&nbsp;]
{% for label, target in [('PDF', pdf), ('Slides', slides), ('Poster', poster)] %}
Expand Down

0 comments on commit 50d7706

Please sign in to comment.