Skip to content

Commit 2547673

Browse files
committed
Add Google Scholar IDs to bibliography entries
Appended 'google_scholar_id' fields to multiple entries in papers.bib for improved reference tracking and integration with Google Scholar.
1 parent 74bfa47 commit 2547673

9 files changed

Lines changed: 102 additions & 129 deletions

File tree

_bibliography/papers.bib

Lines changed: 48 additions & 0 deletions
Large diffs are not rendered by default.

_books/the_godfather.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

_data/socials.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
# arxiv_id: # your arXiv author ID
1010
# blogger_url: # your blogger URL
1111
# bluesky_url: # your bluesky URL
12-
cv_pdf: /assets/pdf/example_pdf.pdf # path to your CV PDF file
12+
# cv_pdf: /assets/pdf/example_pdf.pdf # path to your CV PDF file
1313
# dblp_url: # your DBLP profile url
1414
# discord_id: # your discord id (18-digit unique numerical identifier)
15-
email: shalaila.haas@mssm.edu # your email address
15+
# email: # your email address
1616
# facebook_id: # your facebook id
1717
# flickr_id: # your flickr id
1818
github_username: MINDLabResearch # your GitHub user name

_layouts/about.liquid

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,34 @@ layout: default
2020
{% if page.profile.image %}
2121
{% assign profile_image_path = page.profile.image | prepend: 'assets/img/' %}
2222
{% if page.profile.image_circular %}
23-
{% assign profile_image_class = 'img-fluid z-depth-1 rounded-circle' %}
23+
{% assign profile_image_class = 'img-fluid rounded-circle' %}
2424
{% else %}
25-
{% assign profile_image_class = 'img-fluid z-depth-1
26-
rounded' %}
25+
{% assign profile_image_class = 'img-fluid rounded' %}
2726
{% endif %}
2827
{% capture sizes %}(min-width: {{ site.max_width }}) {{ site.max_width | minus: 30 | times: 0.3}}px, (min-width: 576px)
2928
30vw, 95vw"{% endcapture %}
30-
{%
31-
include figure.liquid loading="eager" path=profile_image_path class=profile_image_class sizes=sizes alt=page.profile.image
32-
cache_bust=true
33-
%}
29+
{% if page.profile.image_dark %}
30+
{% assign profile_image_dark_path = page.profile.image_dark | prepend: 'assets/img/' %}
31+
<div class="profile-image-container">
32+
<div class="light-mode-image">
33+
{%
34+
include figure.liquid loading="eager" path=profile_image_path class=profile_image_class sizes=sizes alt=page.profile.image
35+
cache_bust=true
36+
%}
37+
</div>
38+
<div class="dark-mode-image">
39+
{%
40+
include figure.liquid loading="eager" path=profile_image_dark_path class=profile_image_class sizes=sizes alt=page.profile.image_dark
41+
cache_bust=true
42+
%}
43+
</div>
44+
</div>
45+
{% else %}
46+
{%
47+
include figure.liquid loading="eager" path=profile_image_path class=profile_image_class sizes=sizes alt=page.profile.image
48+
cache_bust=true
49+
%}
50+
{% endif %}
3451
{% endif %}
3552
{% if page.profile.more_info %}
3653
<div class="more-info">{{ page.profile.more_info }}</div>

_layouts/archive-category.liquid

Lines changed: 0 additions & 30 deletions
This file was deleted.

_layouts/archive-tag.liquid

Lines changed: 0 additions & 30 deletions
This file was deleted.

_layouts/archive-year.liquid

Lines changed: 0 additions & 30 deletions
This file was deleted.

_layouts/bib.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@
318318
role="button"
319319
>
320320
{% assign citation_count = 0 %}
321-
{% assign scholar_id_key = site.scholar_userid | append: ':' | append: entry.google_scholar_id %}
321+
{% assign scholar_id_key = site.data.socials.scholar_userid | append: ':' | append: entry.google_scholar_id %}
322322
{% assign publication_key = entry.google_scholar_id %}
323323

324324
{% if site.data.citations.papers[scholar_id_key] %}

_sass/_base.scss

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,30 @@ ul.task-list input[type="checkbox"] {
211211
margin: 0;
212212
}
213213
}
214+
215+
// Theme-aware logo switching
216+
.profile-image-container {
217+
.light-mode-image {
218+
display: block;
219+
}
220+
221+
.dark-mode-image {
222+
display: none;
223+
}
224+
}
225+
}
226+
227+
// Dark mode logo switching
228+
html[data-theme="dark"] {
229+
.profile .profile-image-container {
230+
.light-mode-image {
231+
display: none;
232+
}
233+
234+
.dark-mode-image {
235+
display: block;
236+
}
237+
}
214238
}
215239

216240
.profile.float-right {
@@ -1433,7 +1457,8 @@ ninja-keys::part(ninja-input-wrapper) {
14331457
figure.cover {
14341458
display: inline-block;
14351459
text-align: center;
1436-
margin: 0.5rem; /* adjust as needed */
1460+
margin: 0.5rem;
1461+
/* adjust as needed */
14371462

14381463
img {
14391464
vertical-align: bottom;
@@ -1506,4 +1531,4 @@ figure.cover {
15061531

15071532
mjx-container[jax="CHTML"][display="true"] {
15081533
overflow-x: auto;
1509-
}
1534+
}

0 commit comments

Comments
 (0)