A Modern, Responsive and Customizable Academic Personal Homepage Template
ScholarPages is an enhanced academic homepage template with beautiful styling and powerful customization options:
- ๐จ Customizable Theme Colors: Easily customize link hover colors, heading colors, and code highlight styles
- ๐ Automatic Google Scholar Updates: Automatically update your citations using Google Scholar crawler and GitHub Actions
- ๐ Google Analytics Support: Track your homepage traffic with simple configuration
- ๐ฑ Fully Responsive: Automatically adjusts for different screen sizes and viewports
- ๐ฏ Clean & Modern Design: Beautiful and simple design perfect for academic personal homepages
- ๐ SEO Optimized: Search Engine Optimization helps search engines find and rank your content
- ๐ Configurable Footer: Support for ICP filing number and custom footer text
ScholarPages comes with enhanced styling that you can easily customize:
- Link Hover Effect: Smooth color transition with customizable hover color (default: orange #f09228)
- Heading Colors: Custom colors for h1 and h2 headings (default: blue rgb(82, 123, 189))
- Code Highlight: Custom background and text colors for inline code (default: deep blue #03228d)
- Optional ICP filing number (for Chinese websites)
- Custom footer text
- Clean and compact design
Edit _sass/_variables.scss to change theme colors:
/* theme colors - customizable */
$theme-link-hover-color : #f09228; // link hover color
$theme-heading-color : rgb(82, 123, 189); // heading color
$theme-code-highlight-bg : #03228d; // code background
$theme-code-highlight-text : #fff; // code text colorConfigure footer in _config.yml:
footer:
icp_number : "your-icp-number" # optional, for Chinese websites
custom_text : "your custom text" # optionalFor detailed customization guide, see docs/THEME_CUSTOMIZATION.md.
Fork this repository and rename it to USERNAME.github.io, where USERNAME is your GitHub username.
- Find your Google Scholar ID from your Google Scholar profile URL
- Example:
https://scholar.google.com/citations?user=SCHOLAR_ID SCHOLAR_IDis your Google Scholar ID
- Example:
- Add the Google Scholar ID as a repository secret:
- Go to
Settings -> Secrets -> Actions -> New repository secret - Set
name=GOOGLE_SCHOLAR_IDandvalue=SCHOLAR_ID
- Go to
- Enable GitHub Actions:
- Go to
Actionstab - Click "I understand my workflows, go ahead and enable them"
- This action will generate
gs_data.jsonin thegoogle-scholar-statsbranch - The action runs automatically when you update the main branch and daily at 08:00 UTC
- Go to
- Use favicon-generator to generate favicon files
- Download all generated files to
images/directory
Edit _config.yml to customize your homepage:
# Site Settings
title : "Your Name"
description : "Your description here"
repository : "USERNAME/USERNAME.github.io"
google_scholar_stats_use_cdn : true
# Google Analytics (optional)
google_analytics_id : ""
# SEO Related (optional)
google_site_verification : ""
bing_site_verification : ""
baidu_site_verification : ""
# Site Author
author:
name : "Your Name"
avatar : "images/profile.png"
bio : "Your University"
location : "City, Country"
employer : ""
googlescholar : "https://scholar.google.com/citations?user=YOUR_ID"
email : "your.email@example.com"
github : "your-github-username"
linkedin : "your-linkedin-username"
# ... more social links
# Footer Configuration
footer:
icp_number : "" # for Chinese websites
custom_text : "" # optional custom footer textEdit _pages/about.md to add your homepage content:
- You can use HTML + Markdown syntax
- Use
<span class='show_paper_citations' data='PAPER_ID'></span>to display paper citations- Get PAPER_ID from Google Scholar: click on a paper and find
citation_for_view=XXXX
- Get PAPER_ID from Google Scholar: click on a paper and find
Your homepage will be published at https://USERNAME.github.io
Install Jekyll build environment:
- Ruby
- RubyGems
- GCC
- Make
See Jekyll installation guide for detailed instructions.
-
Clone your repository:
git clone https://github.com/USERNAME/USERNAME.github.io.git cd USERNAME.github.io -
Start Jekyll livereload server:
bash run_server.sh
-
Open http://127.0.0.1:4000 in your browser
-
The server will automatically reload when you modify source files
-
Commit and push your changes:
git add . git commit -m "Update homepage" git push
- Theme Customization Guide - Detailed guide on customizing colors and styles
- Jekyll Documentation
- Markdown Guide
This project is licensed under the MIT License - see the LICENSE file for details.
ScholarPages is built upon and inspired by excellent open-source projects:
- AcadHomepage - The original template that inspired ScholarPages (MIT License)
- Minimal Mistakes - Jekyll theme that influenced the design (MIT License)
- Academic Pages - Academic homepage template (MIT License)
If you find this template useful, please consider giving it a star! โญ
If you have any questions or suggestions, please:
- Open an Issue
- Submit a Pull Request
Made with โค๏ธ for the academic community