-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpublications.de.html
More file actions
34 lines (29 loc) · 881 Bytes
/
publications.de.html
File metadata and controls
34 lines (29 loc) · 881 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
layout: page
title: Publikationen
ref: publications
lang: de
---
<ul class="itab">
Zeige Publikationen auf
<li class="active" lang="de"><a href="#">Deutsch</a></li>
<li class="active" lang="en"><a href="#">Englisch</a></li>
<li class="active" lang="es"><a href="#">Spanisch</a></li>
</ul>
<script>
$(".itab > li > a").click(function(ev) {
ev.preventDefault();
var p = $(this).parent();
var l = $(p).attr("lang");
p.toggleClass("active");
$("div[lang="+l+"]").toggle();
});
</script>
{% assign years = site.publications | map: "year" | uniq | sort | reverse %}
{% for y in years %}
<h2>{{ y }}</h2>
{% assign thisyear = site.publications | where:"year", y %}
{% for pub in thisyear %}
<div class="publication" lang="{{pub.lang}}">{% include pub.html p=pub %}<p class="right_aligned"><a href="{{pub.url}}">Details ...</a></p></div>
{% endfor %}
{% endfor %}