Skip to content

Commit 5aa905e

Browse files
authored
Fix citation details (#524)
1 parent 285ea94 commit 5aa905e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

_plugins/googlescholar.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
module Jekyll
88
class ScholarStats < Generator
9-
# ID for Bungartz et al. paper
10-
CITATION_ID = '5053469347483527186'.freeze
9+
# ID for PreCICE v2 paper
10+
CITATION_ID = '17974677460269868025'.freeze
1111
SCHOLAR_URL = 'http://scholar.google.com/scholar?hl=en&cites='.freeze
1212
def generate(site)
1313
begin

pages/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ <h2 class="section-header">Academic at heart, 100% free software</h2>
311311
<a href="assets/precice-v2.bib">Download BibTeX &nbsp;<i class="fas fa-download"></i></a>
312312
</div>
313313
</div>
314-
<a href="https://scholar.google.com/scholar?hl=en&cites={{ site.data.scholar.id }}" class="btn btn-default no-icon literature-link" role="button">Citations of preCICE v1 paper {% if site.data.scholar.citations %}({{ site.data.scholar.citations }}){% else %}({{ site.precice_citations }}){% endif %} &nbsp;<i class="fas fa-chevron-right"></i></a>
314+
<a href="https://scholar.google.com/scholar?hl=en&cites={{ site.data.scholar.id }}" class="btn btn-default no-icon literature-link" role="button">Citations of preCICE v2 paper {% if site.data.scholar.citations %}({{ site.data.scholar.citations }}){% else %}({{ site.precice_citations }}){% endif %} &nbsp;<i class="fas fa-chevron-right"></i></a>
315315
<a href="fundamentals-literature-guide.html" class="btn btn-primary literature-link" role="button">Literature guide &nbsp;<i class="fas fa-chevron-right"></i></a>
316316
</div>
317317
</div>

0 commit comments

Comments
 (0)