-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpublications.html
67 lines (54 loc) · 2.23 KB
/
publications.html
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
layout: page
---
<div class="position-relative">
{% include title-container.html id="pubs-ji" title="International Journal" %}
<div class="content container">
{% assign bibs = site.data.publications-ji | sort: 'issued.date-parts' | reverse %}
{% include publication-group.html bibs=bibs%}
</div>
{% include title-container.html id="pubs-ci" title="International Conference" %}
<div class="content container">
{% assign bibs = site.data.publications-ci | sort: 'issued.date-parts' | reverse %}
{% include publication-group.html bibs=bibs%}
</div>
{% include title-container.html id="pubs-jd" title="Domestic Journal" %}
<div class="content container">
{% assign bibs = site.data.publications-jd | sort: 'issued.date-parts' | reverse %}
{% include publication-group.html bibs=bibs%}
</div>
{% include title-container.html id="pubs-cd" title="Domestic Conference" %}
<div class="content container">
{% assign bibs = site.data.publications-cd | sort: 'issued.date-parts' | reverse %}
{% include publication-group.html bibs=bibs%}
</div>
</div>
<ul class="nav nav-tabs justify-content-center bg-light fixed-top no-user-select" id="scroll-guide">
<!-- <ul class=""> -->
<li class="nav-item"><a href="#pubs-ji" class="nav-link">Int. Jour.</a></li>
<li class="nav-item"><a href="#pubs-ci" class="nav-link">Int. Conf.</a></li>
<li class="nav-item"><a href="#pubs-jd" class="nav-link">Dom. Jour.</a></li>
<li class="nav-item"><a href="#pubs-cd" class="nav-link">Dom. Conf.</a></li>
<!-- </ul> -->
</ul>
<script>
$(function () {
$('body').scrollspy({
target: '#scroll-guide',
offset: 400,
});
var $trg = $('html, body')
function adjustAnchor() {
var $anchor = $(':target');
var fixedElementHeight = 100;
if ($anchor.length < 0) return;
var offset = $anchor.offset();
offset && $trg.stop().animate({
scrollTop: offset.top - fixedElementHeight
}, 200);
};
$(window).on('hashchange load', function () {
adjustAnchor();
});
})
</script>