Getting Started with Your Portfolio
When you’re done setting up your site, delete this file and remove the “Instructions” entry from
_data/nav-top.yml. It’s only here to help you get started.
This template gives you five content pages, a profile block for the homepage, and Xanthan’s full component library. Work through the steps below in order — most users are done in under an hour.
What You Have
- Homepage (
index.md) — your introduction, with cards linking to other pages - Research (
research.md) — scholarly interests, projects, publications - Teaching (
teaching.md) — teaching philosophy, courses, student work - Creative (
creative.md) — a flexible fourth page; rename and repurpose as needed - CV (
cv.md) — your curriculum vitae in Markdown - Profile (
_data/nav-profile.yml) — your photo, name, bio, and social links - Docs (
docs/) — full Xanthan documentation bundled with your template
Be sure you have completed the setup instructions at https://xanthan-web.github.io/docs/getting-started/ for the portfolio template.
Step 1: Update Your Homepage (index.md)
- Make sure you’re on your portfolio repository page on GitHub (where the code files are, not your portfolio website itself)
- Press the
.(period) key to go into Editor Mode - Close the README file that opens by default
- From the list of files on the left, click on
index.mdand replace the placeholder name and bio paragraph with your own. - The card links at the bottom are generated automatically — leave that code in place. The image and text in the cards come from the actual pages on your site.
Step 2: Commit your changes to rebuild your site
- On the very left of the page is a column of icons; click the one that looks like a network and has a blue circle on it
- There’s a message box that you can ignore; click the
Don't show againlink. - Type in a commit message (for instance, “create new essay folder”)
- Click the green
Commit & Pushbutton - Your site is now rebuilding!
Step 3: Set Up Your Profile
Your name, photo, bio, and links sit at the top of the homepage, in the block above your intro paragraph. They do not live in index.md. Open _data/nav-profile.yml and update:
image_url— path to your photo (put it inassets/images/profile/)name— your namerole— your title, department, or what you do. Delete the line if you’d rather not say.description— one or two sentences about youlinks— your website, email, GitHub, etc.
Don’t want the profile block? Open index.md and delete the {% include layout/profile-intro.html %} line. Nothing else on the page depends on it.
Prefer a round photo? Change that line to {% include layout/profile-intro.html shape="circle" %}.
Want the old left sidebar instead? Xanthan still ships it. Delete the include line and change the homepage’s front matter from layout: base to layout: nav-profile; it reads the same _data/nav-profile.yml. It puts your profile in a permanent left column on whichever pages use that layout, which is worth it if your links belong on every page and not otherwise.
Step 4: Edit Your Content Pages
Open each page and replace the placeholder content with your own. Each page has inline guidance at the top explaining what to change.
research.md— overview of your scholarly work and projectsteaching.md— teaching philosophy, courses, sample student workcreative.md— rename and repurpose this page or just delete itcv.md— your full CV; see the note on that page about using AI to convert a Word doc
To remove a page from your site: delete the file and remove its entry from _data/nav-top.yml.
Everything else is optional for for later. You now know how to do basic editing. If you can cut and paste, you can make your site anything you want. A few common next steps are listed below, but can happen anytime.
Add New Pages
To add a page like a standard “About” page:
- Create a new file in the root folder (e.g.,
about.md) - Add this front matter at the top:
---
title: Writing
layout: base
homepage: true
position: 5
summary: Interesting facts about me
thumbnail: assets/images/your-about-page-image.jpg
---
If you don’t want your new page to appear as a card on your homepage, change true to false for the homepage setting.
- Add your new page to the top nav by opening
_data/nav-top.ymland adding two new lines, following the pattern and spacing in the line:
- title: "About"
url: /about
Your title (what appears on the nav bar) does not have to be the same as your filename. But the url field has to match your filename exactly, NOT including the extension (so put /about not /about/md).
If you want your new page to appear as a card on the homepage, you just need to add a little metadata to youe
Working with Images
Most of the sample pages have an image on them somewhere, so the best approach to adding an image to one of your pages is to copy the code that displays the image an adapt it.
- Upload an image to
assets/images/ - To display images (as you can see from the sample pages), we use Xanthan’s
figurecomponent. You can copy and paste an example from an existing page or use this generic snippet:
{% include images/figure.html
class="right"
width="40%"
caption="Your caption here"
image-path="/assets/images/your-image.jpg"
%}
Naming convention: lowercase, hyphens between words (e.g., field-site-2024.jpg).
Colors, Fonts, and Style
Custom styling is not hard but is outside the scope of these intro instructions. Please See the Xanthan Styling Guide for details.
Using AI to Customize Your Site
Xanthan is designed to work well with AI assistants. Its named variables, documented components, and clear file structure mean you can describe what you want in plain language and get precise, working results.
For better results, paste ai.md first. This file (in your repository root) gives the AI context about how Xanthan works — its CSS variable system, component syntax, and file structure. You don’t need to understand any of this–it’s for the AI tool. Paste it before your question and the AI can make precise, working edits without guessing.
A good first prompt: paste ai.md and your index.md into Claude or ChatGPT and write:
“I’m customizing a portfolio site built on the Xanthan Jekyll framework. Here are my config and homepage. I’d like to use an art deco font and color scheme across my pages.”
Getting Help
- Local docs: the
docs/folder in your repository has full Xanthan documentation matched to your version - Troubleshooting: Common issues and fixes
- ScrollStories: if you want scroll-driven narrative pages with background images, see
scrollstories/and the ScrollStory docs - Report issues: GitHub Issues