This document explains what each file and folder does in your website.
_config.yml βοΈWhat it is: Main configuration file for your entire website
What it controls:
When to edit:
index.md π What it is: Your home page
What visitors see: First page when they visit your website
When to edit:
_pages/ folderContains all main pages of your website.
Files inside:
research.md - Research pagepeople.md - Team members pagepublications.md - Publications listcontact.md - Contact informationWhen to edit: Whenever you need to update the content on these pages
_posts/ folder π°Contains blog posts and news items.
File naming: Must be named YYYY-MM-DD-title.md
2024-02-15-new-publication.md2024-03-10-conference-announcement.mdWhen to edit:
Note: Posts automatically appear on your home page (3 most recent)
_data/ folderContains structured data files.
Files inside:
navigation.yml - Top menu configurationWhen to edit:
assets/images/ folder πΌοΈWhat it stores: All photos and images
Recommended subfolders:
people/ - Team member photosresearch/ - Research-related imagesSupported formats: JPG, PNG, GIF When to add files:
assets/pdfs/ folder πWhat it stores: PDF files
Common files:
When to add files:
.gitignoreWhat it is: Tells GitHub which files to ignore
Purpose: Prevents build files and temporary files from being uploaded
When to edit: Rarely - only if you know what youβre doing
GemfileWhat it is: Lists Ruby dependencies needed to run Jekyll
Purpose: Ensures correct versions of software are used
When to edit: Very rarely - only to update Jekyll version
.github/workflows/pages.ymlWhat it is: Automatic deployment configuration
Purpose: Tells GitHub how to build and publish your website
When to edit: Never - itβs already configured correctly
README.md πWhat it is: Complete documentation for the website
Who itβs for: You! Reference guide for managing the site
When to read: When you need help with anything
CONTENT_GUIDE.md πWhat it is: Templates and examples for common updates
Who itβs for: Reference when adding content
When to read:
SETUP.md πWhat it is: Quick start guide for first-time setup
Who itβs for: Getting the site live for the first time
When to read: Right now! Follow it step by step.
_site/ folder (local only)What it is: Built website files
Created when: Running bundle exec jekyll build
Important: This folder is NOT uploaded to GitHub (itβs in .gitignore)
Gemfile.lock (auto-generated)What it is: Locked versions of dependencies
Created when: Running bundle install
Important: This file is NOT uploaded to GitHub (itβs in .gitignore)
| I want to⦠| Edit this file⦠|
|---|---|
| Change site title | _config.yml |
| Change my name/email | _config.yml |
| Update home page | index.md |
| Add research info | _pages/research.md |
| Add team member | _pages/people.md |
| Add publication | _pages/publications.md |
| Update contact info | _pages/contact.md |
| Post lab news | Create new file in _posts/ |
| Add photo | Upload to assets/images/ |
| Add PDF | Upload to assets/pdfs/ |
| Change menu | _data/navigation.yml |
breisslab/
β
βββ π _config.yml β Site settings
βββ π index.md β Home page
β
βββ π _pages/ β Main pages
β βββ research.md
β βββ people.md
β βββ publications.md
β βββ contact.md
β
βββ π _posts/ β Blog posts/news
β βββ YYYY-MM-DD-title.md
β
βββ π _data/ β Site data
β βββ navigation.yml
β
βββ π assets/ β Media files
β βββ images/
β β βββ people/
β β βββ *.jpg, *.png
β βββ pdfs/
β βββ *.pdf
β
βββ π .github/ β GitHub config
β βββ workflows/
β βββ pages.yml β Auto-deployment
β
βββ π Documentation
βββ README.md
βββ SETUP.md
βββ CONTENT_GUIDE.md
βββ FILE_STRUCTURE.md β You are here!
β Safe to edit:
.md file (Markdown content)_data/assets/β οΈ Edit carefully:
_config.yml (follow the format exactly).github/workflows/pages.yml (only if you know YAML)β Donβt delete:
.gitignoreGemfile.github/ folder_)If youβre not sure which file to edit:
Remember: GitHub saves every version, so you can always undo changes if something goes wrong! π