Skip to content
Snippets Groups Projects
Commit 0b066ad9 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Also add the number of citations to the main paper on the publications page

parent d6a01a33
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,8 @@ total_citations = 0
for paper in paper_list:
if paper.bibcode == "2023arXiv230513380S":
to_remove = paper
citations_release = paper.citation_count
if len(paper.title) == 1:
paper.title = paper.title[0]
paper.bibstem = paper.bibstem[0]
......@@ -27,6 +28,7 @@ paper_list.remove(to_remove)
# Create a dictionary of cards
my_list = dict({"num_papers": query_data.num_found - 1,
"total_citations": total_citations,
"citations_release": citations_release,
"cards": paper_list})
# Silence the yaml object naming
......
......@@ -16,11 +16,11 @@
<h4><a href="https://ui.adsabs.harvard.edu/abs/2023arXiv230513380S/abstract">SWIFT: A modern highly-parallel gravity and smoothed particle hydrodynamics
solver for astrophysical and cosmological applications</a> </h4>
<p>&emsp; Schaller M. et al., <i>arXiv</i>, 2023, 2305.13380
<p>&emsp; Schaller M. et al., <i>arXiv</i>, 2023, 2305.13380 &emsp;&emsp;(citations: {{ citations_release }})
<h4><a href="https://ui.adsabs.harvard.edu/abs/2016pasc.conf....2S/abstract">SWIFT: Using Task-Based Parallelism, Fully Asynchronous Communication, and Graph Partition-Based Domain
Decomposition for Strong Scaling on more than 100,000 Cores </a> </h4>
<p>&emsp; Schaller M. et al., <i>PASC</i>, 2016, vol. 1
<p>&emsp; Schaller M. et al., <i>PASC</i>, 2016, vol. 1
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment