This repository contains the source code for the MINNE lab website (minnelab.github.io), built with Jekyll and hosted on GitHub Pages. Follow these instructions to add content and update the website.
- Git installed on your computer
- GitHub account with access to this repository
- Basic knowledge of Markdown formatting
-
Clone the repository:
git clone https://github.com/minnelab/minnelab.github.io.git cd minnelab.github.io -
Create a new branch for your changes:
git checkout -b your-update-name
To add yourself as a team member:
- Add your profile image to the
assets/people/directory - Use JPEG format and keep file size under 50KB
- Recommended dimensions: 300x300 pixels
- File naming convention:
name.jpeg(e.g.,john-doe.jpeg)
- Create a new file in the
_people/directory - File name:
name.markdown(e.g.,john-doe.markdown) - Use the following template:
---
layout: person
title: 'Your Full Name'
category: people
permalink: /people/firstname-lastname
image: /assets/people/your-image.jpeg
position: 'Your Position (e.g., PhD Student, Postdoc, etc.)'
status: 'current' (or former)
---
{:class="people-profile-image"}
### 3. Update Status
- Use `status: 'current'` for current team members
- Use `status: 'former'` for former team membersTo add news, announcements, or updates:
- Create a new file in the
_posts/directory - File naming convention:
YYYY-MM-DD-post-title.markdown - Example:
2024-12-15-new-publication.markdown
---
layout: post
title: "Your Post Title"
paper_authors: "Author list if you are posting a paper"
date: YYYY-MM-DD
abstract: "Brief one-sentence summary of the post / paper abstract"
---
Write your full post content here using Markdown formatting.
You can include:
- Links to publications
- Images (add them to assets/ directory)
- Conference announcements
- Lab achievements
- New team member announcementsPost ideas may include:
- Publication announcements
- Conference presentations
- Lab news and achievements
- New team member welcomes
- Grant announcements
Main pages are located in the root directory:
index.markdown- Homepageabout.markdown- About pagecode.markdown- Code and repositoriesteaching.markdown- Teaching informationjoin-us.markdown- Job opportunities or master projectsmaia.markdown- MAIA information
- Place images in appropriate subdirectories within
assets/ - Keep file sizes reasonable (< 1MB for images)
- Use descriptive file names
-
Add and commit your changes:
git add . git commit -m "Add [description of your changes]"
-
Push your branch:
git push origin your-update-name
-
Create a Pull Request:
- Go to the GitHub repository
- Click "Compare & pull request"
- Add a description of your changes
- Request review from a repository maintainer
To preview changes locally before submitting:
-
Install Jekyll:
gem install bundler jekyll bundle install
-
Run local server:
bundle exec jekyll serve -
View website: Open
http://localhost:4000in your browser
- Check existing files for examples
- Markdown: https://www.markdownguide.org/basic-syntax/
- Changes to the main branch automatically deploy to the live website!!!
- Always test locally when possible
- Push to main if you are ONLY changing your own info, otherwise please make a PR