Removed need for years in bibliography page (#1500)
Implementing #1390. Signed-off-by: George Araujo <george.gcac@gmail.com>
This commit is contained in:
parent
6eebb65632
commit
1a612c615f
|
|
@ -293,6 +293,8 @@ scholar:
|
||||||
details_link: Details
|
details_link: Details
|
||||||
|
|
||||||
query: "@*"
|
query: "@*"
|
||||||
|
group_by: year
|
||||||
|
group_order: descending
|
||||||
|
|
||||||
badges: # Display different badges for your publications
|
badges: # Display different badges for your publications
|
||||||
altmetric_badge: true # Altmetric badge (https://www.altmetric.com/products/altmetric-badges/)
|
altmetric_badge: true # Altmetric badge (https://www.altmetric.com/products/altmetric-badges/)
|
||||||
|
|
|
||||||
|
|
@ -3,16 +3,12 @@ layout: page
|
||||||
permalink: /publications/
|
permalink: /publications/
|
||||||
title: publications
|
title: publications
|
||||||
description: publications by categories in reversed chronological order. generated by jekyll-scholar.
|
description: publications by categories in reversed chronological order. generated by jekyll-scholar.
|
||||||
years: [1967, 1956, 1950, 1935, 1905]
|
|
||||||
nav: true
|
nav: true
|
||||||
nav_order: 1
|
nav_order: 1
|
||||||
---
|
---
|
||||||
<!-- _pages/publications.md -->
|
<!-- _pages/publications.md -->
|
||||||
<div class="publications">
|
<div class="publications">
|
||||||
|
|
||||||
{%- for y in page.years %}
|
{% bibliography -f {{ site.scholar.bibliography }} %}
|
||||||
<h2 class="year">{{y}}</h2>
|
|
||||||
{% bibliography -f {{ site.scholar.bibliography }} -q @*[year={{y}}]* %}
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -567,7 +567,7 @@ footer.sticky-bottom {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h2.year {
|
h2.bibliography {
|
||||||
color: var(--global-divider-color);
|
color: var(--global-divider-color);
|
||||||
border-top: 1px solid var(--global-divider-color);
|
border-top: 1px solid var(--global-divider-color);
|
||||||
padding-top: 1rem;
|
padding-top: 1rem;
|
||||||
|
|
@ -1001,4 +1001,4 @@ nav[data-toggle="toc"] {
|
||||||
color: var(--global-danger-block-title);
|
color: var(--global-danger-block-title);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue