Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collapse abstracts #88

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
27 changes: 19 additions & 8 deletions _layouts/bib.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,24 @@



<p>[{{urls | split: "|" | join: " | "}}]</p>
<p>[{{urls | split: "|" | join: " | "}}]</p>
{% if entry.abstract or entry.keywords %}
<ul class="accordion" data-accordion data-multi-expand="true" data-allow-all-closed="true">
<li class="accordion-item" data-accordion-item>
<a href="#" class="accordion-title">Abstract</a>
<div class="accordion-content" data-tab-content >
{% if entry.abstract %}
<p></p>
<blockquote><p>{{ entry.abstract }}</p></blockquote>
{% endif %}
{% if entry.keywords %}
<blockquote><p>Keywords: {{ entry.keywords }}</p></blockquote>
{% endif %}
</div>
</li>
</ul>
{% endif %}



{% if entry.abstract %}
<p></p>
<blockquote><p>{{ entry.abstract }}</p></blockquote>
{% endif %}

{% if entry.keywords %}
<blockquote><p>Keywords: {{ entry.keywords }}</p></blockquote>
{% endif %}
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function process_CLI(cb) {

async function update_packages(cb) {
await create_command("npm ci")
await create_command("bundle install")
await create_command("bundle update")
cb()
}

Expand Down
Loading