- 🎓 Create an Academic Website with AcademicPages on GitHub Pages
- Table of Contents
- 📌 1. Fork the AcademicPages Repository
- 📌 2. Rename the Repository
- 📌 3. Enable GitHub Pages
- 📌 4. Clone the Repository Locally
- 📌 5. Install Jekyll Locally (Optional)
- 📌 6. Customize Your Site
- 📌 7. Commit and Push Changes to GitHub
- 📌 8. Set a Custom Domain (Optional)
- 🔄 Updating the AcademicPages Template
- 🎯 Troubleshooting
- 📚 More Resources
- Go to the AcademicPages GitHub repository.
- Click Fork (top right corner) to create a copy in your GitHub account.
- Go to Settings → Rename the repository to
miftah-ahmad-choiri.github.io
(replacemiftah-ahmad-choiri
with your GitHub username). - This is required for GitHub Pages to host the website.
- Navigate to Settings → Pages.
- Under Source, select main branch and save.
- Your website will be available at https://miftah-ahmad-choiri.github.io in a few minutes.
Open a terminal or command prompt and run:
git clone https://github.com/username/username.github.io
cd username.github.io
If you want to test the website locally before pushing changes:
- Install Ruby via RubyInstaller
- Install Bundler and Jekyll:
gem install jekyll bundler
- Install Ruby and Jekyll:
brew install ruby
gem install jekyll bundler
bundle exec jekyll serve
Visit http://localhost:4000
to preview.
Modify _config.yml
to change:
- Site title, author, email, and social links.
title: "Your Name"
author: "Your Name"
email: "your-email@example.com"
github_username: "your-github"
linkedin_username: "your-linkedin"
Modify the Markdown files in the repository:
index.md
→ Home Page_pages/cv.md
→ CV Page_pages/publications.md
→ Publications Page_pages/blog.md
→ Blog Page
Create Markdown files inside _posts/
:
---
title: "My First Blog Post"
date: 2025-02-02
author: "Your Name"
---
Welcome to my first blog post!
git add .
git commit -m "Customized AcademicPages site"
git push origin main
- Buy a domain (e.g., from Namecheap).
- Add a
CNAME
file in the repository with your domain name. - Configure DNS records to point to GitHub Pages.
If the original AcademicPages repository updates, sync your fork:
git remote add upstream https://github.com/academicpages/academicpages.github.io
git fetch upstream
git merge upstream/main
git push origin main
- Check Settings → Pages in GitHub.
- Ensure main branch is selected as the source.
- Run
bundle install
beforebundle exec jekyll serve
. - Ensure you have the correct Ruby and Bundler versions.
🚀 Enjoy your academic website! 🎉
✅ Now you can copy and paste this directly into a Markdown file (README.md
) or into your GitHub repository! Let me know if you need any improvements! 🚀