This repo is the live site for https://profsanjeevarora.github.io/.
Most routine updates happen in assets/site-data.js.
Image files live in images/.
Edit the relevant sections in assets/site-data.js:
heropagesbioSectionshomeLinksresearchteachingarchiveCoursescontact
hero: landing page name, roles, research-interest line, portrait, and the buttons under the portrait.pages: titles for the subpages such asBio,Research,Teaching,Advising, andContact.bioSections: the content onbio.html. Each section has atitleand anitemslist.homeLinks: the large cards on the homepage.research: the three main research cards.teaching: the cards onteaching.html.archiveCourses: the archived course list onarchived-courses.html.contact: the cards oncontact.html.footerNote: the copyright / design lines in the footer.
- Most simple entries use plain text fields such as
title,description,text,year, andhref. - In
bioSections, usetextfor plain text andhtmlonly when you need an inline hyperlink. - In
contact, a normal text entry looks like:
{ label: "Phone", value: "(609) 258-3869" }- A clickable link entry looks like:
{ label: "Twitter", kind: "link", value: "@prfsanjeevarora", href: "https://twitter.com/prfsanjeevarora" }- An obfuscated email entry looks like:
{
label: "Email",
kind: "obfuscated-email",
user: "arora",
domain: ["cs", "princeton", "edu"],
revealLabel: "Click to reveal",
}Edit these Markdown files:
content/advising/current-students.mdcontent/advising/alumni.md
Use one bullet per person:
- [Name](https://example.com) | PhD student
- Name Without Link | PhD 2024- Put the new PDF in
files/, for examplefiles/cv.pdf. - In
assets/site-data.js, update theCV / Biolink inhero.actionsif needed.
- Put image files in
images/. - The homepage portrait is set in
assets/site-data.jsunderhero.image.src. - The Princeton CS logo is loaded from
images/logo-computer-science-linear.svg.
From the repo root, run:
python3 -m http.server 8000Then open http://localhost:8000.
There is no build step.
- Commit your changes in this repo.
- Push to
main. - GitHub Pages will serve the updated site at
https://profsanjeevarora.github.io/.
If GitHub Pages is not already configured, open Settings -> Pages and set:
Source:Deploy from a branchBranch:mainFolder:/ (root)