Skip to content
Open

V1 #167

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
94ca4a2
Enhance Google Scholar stats fetching and error handling
Jinlei-Ma Feb 21, 2026
0c82402
Add update time display to masthead
Jinlei-Ma Feb 21, 2026
42aa0bd
Revise about page content and structure
Jinlei-Ma Feb 21, 2026
bf7f5d7
Refactor notice styles and layout in _notices.scss
Jinlei-Ma Feb 21, 2026
9cb2085
Update font variables to use Times New Roman
Jinlei-Ma Feb 21, 2026
c87e625
Create files
Jinlei-Ma Feb 21, 2026
d2d8b8c
Create _files
Jinlei-Ma Feb 21, 2026
faad7bb
Create papers
Jinlei-Ma Feb 21, 2026
39bfe71
Delete images/papers
Jinlei-Ma Feb 21, 2026
8b96878
Create Paper image
Jinlei-Ma Feb 21, 2026
cd158d2
Add files via upload
Jinlei-Ma Feb 21, 2026
49cc479
Add files via upload
Jinlei-Ma Feb 21, 2026
474d817
Delete _files
Jinlei-Ma Feb 21, 2026
8d51a55
Delete files
Jinlei-Ma Feb 21, 2026
396efd8
Delete images/favicon-32x32.png
Jinlei-Ma Feb 21, 2026
6dcc96a
Add files via upload
Jinlei-Ma Feb 21, 2026
158e387
Delete images/favicon-16x16.png
Jinlei-Ma Feb 21, 2026
fcfce06
Add files via upload
Jinlei-Ma Feb 21, 2026
b8123d9
Delete images/favicon.ico
Jinlei-Ma Feb 21, 2026
36d93f9
Add files via upload
Jinlei-Ma Feb 21, 2026
65ae35f
Add files via upload
Jinlei-Ma Feb 21, 2026
d96d8ac
Update gem versions in Gemfile.lock
Jinlei-Ma Feb 21, 2026
6d14600
Update site configuration for Jinlei Ma
Jinlei-Ma Feb 21, 2026
cb7df57
Replace Jekyll server script with citation updater
Jinlei-Ma Feb 21, 2026
fbd3ddc
Update about.md
Jinlei-Ma Feb 21, 2026
ebb88d3
Update _config.yml
Jinlei-Ma Feb 21, 2026
ea3fd88
Change author avatar from jlgg.jpg to jlgg.png
Jinlei-Ma Feb 21, 2026
98176c2
Update avatar image format in config
Jinlei-Ma Feb 21, 2026
cdff749
Modify site description in _config.yml
Jinlei-Ma Feb 21, 2026
a063cd9
Replace Python script with Jekyll server command
Jinlei-Ma Feb 21, 2026
5a0e5a5
Add files via upload
Jinlei-Ma Feb 21, 2026
4cf27fb
Update masthead with new update time
Jinlei-Ma Feb 21, 2026
af3eca9
Update navigation.yml
Jinlei-Ma Feb 22, 2026
0323b82
Update about page with new news and honors
Jinlei-Ma Feb 22, 2026
54008d4
Update about.md with recent research participation
Jinlei-Ma Feb 22, 2026
e2e6b87
Format honors and awards section for consistency
Jinlei-Ma Feb 22, 2026
64973b7
Update about.md with new achievements and publications
Jinlei-Ma Feb 22, 2026
991749d
Update project approval details in about.md
Jinlei-Ma Feb 22, 2026
da5f04b
Revise education section with advisor names
Jinlei-Ma Feb 22, 2026
5730e07
Revise personal research description in about.md
Jinlei-Ma Feb 22, 2026
3887048
Delete images/favicon.ico
Jinlei-Ma Feb 22, 2026
6b67cd4
Add files via upload
Jinlei-Ma Feb 22, 2026
d8d14ba
Revise personal introduction and research details
Jinlei-Ma Feb 22, 2026
c9cd68a
Update author bio in config file
Jinlei-Ma Feb 22, 2026
251ea9d
Update navigation links in navigation.yml
Jinlei-Ma Feb 22, 2026
4bda1cd
Update about.md
Jinlei-Ma Feb 22, 2026
6a45039
Fix URL for Educations section in navigation
Jinlei-Ma Feb 22, 2026
625e3ac
Update about.md
Jinlei-Ma Feb 22, 2026
0bf9355
Update about page with education and publication details
Jinlei-Ma Feb 22, 2026
e1be4b8
Update navigation URLs to remove leading slashes
Jinlei-Ma Feb 22, 2026
440e7bf
Delete images/favicon-16x16.png
Jinlei-Ma Feb 22, 2026
c5b9dc9
Add files via upload
Jinlei-Ma Feb 22, 2026
ea532e2
Delete images/favicon-32x32.png
Jinlei-Ma Feb 22, 2026
8db918c
Add files via upload
Jinlei-Ma Feb 22, 2026
3724ed6
Delete images/favicon-32x32.png
Jinlei-Ma Feb 22, 2026
a9af84f
Add files via upload
Jinlei-Ma Feb 22, 2026
4c0f063
Delete images/favicon-32x32.png
Jinlei-Ma Feb 22, 2026
40bc31d
Add files via upload
Jinlei-Ma Feb 22, 2026
af18f13
Revise about me section for clarity
Jinlei-Ma Feb 24, 2026
5d2bbbe
Create files
Jinlei-Ma Apr 18, 2026
0512054
Delete files
Jinlei-Ma Apr 18, 2026
9f91a35
Create read
Jinlei-Ma Apr 18, 2026
aaccedf
v111
Jinlei-Ma Apr 18, 2026
794bcd8
Revise about me section with detailed research background
Jinlei-Ma Apr 18, 2026
99829b8
Update about.md
Jinlei-Ma Apr 18, 2026
fbdd56c
Rename previous research.png to previous_research.png
Jinlei-Ma Apr 18, 2026
55beba0
Add files via upload
Jinlei-Ma Apr 18, 2026
c67ceb2
Fix alt text for previous research image
Jinlei-Ma Apr 18, 2026
38c7dc8
Update about.md
Jinlei-Ma Apr 18, 2026
4468a75
Adjust image width in about page
Jinlei-Ma Apr 18, 2026
9539a5a
Update about page with new image and personal details
Jinlei-Ma Apr 18, 2026
e9bd489
Update about page with additional research details
Jinlei-Ma Apr 18, 2026
5330e41
Revise about me section for clarity and accuracy
Jinlei-Ma Apr 18, 2026
79c3664
Update research interests and terminology in about section
Jinlei-Ma Apr 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
283 changes: 135 additions & 148 deletions Gemfile.lock

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
# `jekyll serve`. If you change this file, please restart the server process.

# Site Settings
title : "Lorem ipsum"
description : "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus ornare aliquet ipsum, ac tempus justo dapibus sit amet. "
repository : "RayeRen/acad-homepage.github.io"
google_scholar_stats_use_cdn : true
title : "Jinlei Ma"
description : "Climate risk, adaptation and mitigation, AI for science."
repository : "jinleiMa/mjl.github.io"
google_scholar_stats_use_cdn : false

# google analytics
google_analytics_id : # get google_analytics_id from https://analytics.google.com/analytics/
Expand All @@ -21,14 +21,14 @@ baidu_site_verification : # get baidu_site_verification from https://ziyuan.ba

# Site Author
author:
name : "Lorem ipsum"
avatar : "images/android-chrome-512x512.png"
bio : "Lorem ipsum College"
location : "Beijing, China"
name : "Jinlei Ma"
avatar : "images/jlgg.jpg"
bio : "Undergraduate at AHUT"
location : "Chongqing, China"
employer :
pubmed :
googlescholar : "https://scholar.google.com/citations?user=YOUR_GOOGLE_SCHOLAR_ID"
email : "Lorem@ipsum.com"
googlescholar : "https://scholar.google.com/citations?hl=zh-CN&user=rQRaHQEAAAAJ"
email : "mjl2004@ahut.edu.cn"
researchgate : # e.g., "https://www.researchgate.net/profile/yourprofile"
uri :
bitbucket :
Expand All @@ -37,15 +37,15 @@ author:
flickr :
facebook :
foursquare :
github : # e.g., "github username"
github : "Jinlei-Ma"
google_plus :
keybase :
instagram :
impactstory : # e.g., "https://profiles.impactstory.org/u/xxxx-xxxx-xxxx-xxxx"
lastfm :
linkedin : # e.g., "linkedin username"
dblp : # e.g., "https://dblp.org/pid/xx/xxxx.html"
orcid : # e.g., "https://orcid.org/xxxx"
orcid : "https://orcid.org/0009-0008-4253-1113"
pinterest :
soundcloud :
stackoverflow : # http://stackoverflow.com/users/123456/username
Expand Down
31 changes: 20 additions & 11 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,31 @@
# main links links
main:
- title: "About Me"
url: "/#about-me"

url: "#about-me"

- title: "Educations"
url: "#educations"

- title: "News"
url: "/#-news"
url: "#news"

- title: "Publications"
url: "/#-publications"
url: "#publications"

- title: "Honors and Awards"
url: "/#-honors-and-awards"
url: "#honors-and-awards"

- title: "Educations"
url: "/#-educations"
# - title: "Invited Talks"
# url: "#invited-talks"

# - title: "Service"
# url: "#service"

# - title: "Blogs"
# url: "/#blogs"

- title: "Invited Talks"
url: "/#-invited-talks"
# - title: "Educations"
# url: "/#educations"

- title: "Internships"
url: "/#-internships"
# - title: "Internships"
# url: "/#-internships"
65 changes: 49 additions & 16 deletions _includes/fetch_google_scholar_stats.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,52 @@
<script>
$(document).ready(function () {
{% if site.google_scholar_stats_use_cdn %}
var gsDataBaseUrl = 'https://cdn.jsdelivr.net/gh/{{ site.repository }}@'
{% else %}
var gsDataBaseUrl = 'https://raw.githubusercontent.com/{{ site.repository }}/'
{% endif %}
$.getJSON(gsDataBaseUrl + "google-scholar-stats/gs_data.json", function (data) {
var totalCitation = data['citedby']
document.getElementById('total_cit').innerHTML = totalCitation;
var citationEles = document.getElementsByClassName('show_paper_citations')
Array.prototype.forEach.call(citationEles, element => {
var paperId = element.getAttribute('data')
var numCitations = data['publications'][paperId]['num_citations']
element.innerHTML = '| Citations: ' + numCitations;
console.log('Google Scholar script starting...');

// For local development, always use local path
var dataUrl = "/google-scholar-stats/gs_data.json";
console.log('Fetching data from:', dataUrl);

$.getJSON(dataUrl)
.done(function (data) {
console.log('Data loaded successfully:', data);

var totalCitation = data['citedby'];
var totalElement = document.getElementById('total_cit');
if (totalElement) {
totalElement.innerHTML = totalCitation;
console.log('Updated total citations:', totalCitation);
}

var citationEles = document.getElementsByClassName('show_paper_citations');
console.log('Found citation elements:', citationEles.length);

Array.prototype.forEach.call(citationEles, function(element) {
var paperId = element.getAttribute('data');
console.log('Processing paper ID:', paperId);

if (data['publications'] && data['publications'][paperId]) {
var numCitations = data['publications'][paperId]['num_citations'];
console.log('Citations for', paperId, ':', numCitations);
element.innerHTML = '| Citations: ' + numCitations;
element.style.color = '#333';
} else {
console.warn('Paper not found in data:', paperId);
element.innerHTML = '| Citations: 0';
element.style.color = '#999';
}
});
})
.fail(function (jqXHR, textStatus, errorThrown) {
console.error('Failed to load Google Scholar data:');
console.error('Status:', textStatus);
console.error('Error:', errorThrown);
console.error('Response:', jqXHR.responseText);

var citationEles = document.getElementsByClassName('show_paper_citations');
Array.prototype.forEach.call(citationEles, function(element) {
element.innerHTML = '| Citations: N/A';
element.style.color = '#ff0000';
});
});
});
})
</script>
});
</script>
13 changes: 12 additions & 1 deletion _includes/masthead.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,18 @@
{% endfor %}
</ul>
<ul class="hidden-links hidden"></ul>
<div class="masthead__update-time" style="position: absolute; right: 0; top: 50%; transform: translateY(-50%); padding-right: 1rem;">
<span style="font-size: 0.8em; color: #666; font-style: italic;">Update Time: 2026-02-21</span>
</div>
</nav>
</div>
</div>
</div>
</div>

<style>
@media screen and (max-width: 768px) {
.masthead__update-time {
display: none;
}
}
</style>
Loading