mirror of
https://github.com/RoiArthurB/roiarthurb.github.io.git
synced 2026-07-09 10:10:26 +00:00
No description
https://roiarthurb.github.io/
- Astro 78.9%
- TypeScript 10.1%
- TeX 5.4%
- CSS 3.7%
- JavaScript 1.9%
|
|
||
|---|---|---|
| .github | ||
| public | ||
| src | ||
| .gitignore | ||
| astro.config.mjs | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Astro Scholar
A clean, modern Astro portfolio template for researchers, professors, students, and academic teams.
Lighthouse
Why This Template
Most portfolio templates look generic. This one is built for academic storytelling:
- Blog posts for ideas, notes, and essays
- Project pages for research work
- Publications section from BibTeX
- Team and author profiles
- Search and generated OG images
Built with Astro for speed, static output, and straightforward deployment.
What You Get
- Astro + MDX content workflow
- Blog with table of contents and reading-friendly layout
- Projects and publications pages
- Team page and author data model
- RSS feed and sitemap generation
- Search indexing via Pagefind
- GitHub Pages deployment workflow
- PR preview deployment workflow
Quick Start
- Clone the repository.
- Install dependencies.
- Run the dev server.
npm install
npm run dev
Then open http://localhost:4321/astro-scholar
Commands
| Command | Description |
|---|---|
npm run dev |
Start local dev server |
npm run build |
Build production site |
npm run preview |
Preview production build |
npm run astro -- <command> |
Run Astro CLI commands |
Customization Guide
Update these files first:
src/consts.ts: site title and global constantssrc/data/authors.json: author profilessrc/data/projects.json: project entriessrc/data/publications.bib: publication listsrc/content/blog/*.md: blog postssrc/styles/global.css: theme and typography
Layout and components:
src/layouts/BlogPost.astro: post layoutsrc/components/Header.astro: top navigationsrc/components/Footer.astro: footer
Deployment
This repo is ready for GitHub Pages.
mainbranch deploys via.github/workflows/website-deploy.yml- Pull requests deploy preview sites via
.github/workflows/preview.yml
Base path is configured in astro.config.mjs:
- default:
/astro-scholar - PR preview:
/astro-scholar/pr-previews/<PR_NUMBER>
Project Structure
src/
components/ Reusable UI components
content/blog/ Markdown blog content
data/ Authors, projects, publications
layouts/ Page layouts
pages/ Route files
styles/ Global styles
utils/ Utility helpers
public/
fonts/ Webfonts and static assets
Community
- Contributing guide: .github/CONTRIBUTING.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security policy: .github/SECURITY.md
- Pull request template: .github/pull_request_template.md
Feedback & Suggestions
If you have any suggestions/feedback, you can contact me via my email. Alternatively, feel free to open an issue if you find bugs or want to request new features.
License
Licensed under the MIT LICENSE, Copyright © 2026