This repository contains the source code for the DASH Lab website. The site has been migrated to GitHub Pages to allow for easier collaboration among lab moderators.
The project is organized to separate functionality (logic), styling, and content (data).
Contains all styling files. The CSS is commented section-by-section to easily identify which styles apply to which page.
Contains all static assets.
- Note: The
publicationimage folder has been moved inside here to centralize all assets.
The core functionality resides here. To make updates easier, logic is separated from data.
common.js: Handles the global navigation bar (Header), Mobile Menu, and Footer.- Clean URLs: Includes logic to hide
.htmlextensions from the browser URL bar for a cleaner look.
- Clean URLs: Includes logic to hide
members.js: Logic for rendering the members page.news.js: Logic for the news feed and gallery modals (enlarge image).publication.js: Logic for sorting publications by year and handling navigation.
Moderators generally do not need to touch HTML files or Core Logic files. You only need to edit the Data files listed below.
| To Update... | Edit this file | Description |
|---|---|---|
| Lab Members | js/membersdata.js |
Add names, roles, and image paths for new members. |
| News / Papers | js/newsdata.js |
Add updates about accepted papers to appear on the homepage. |
| Publications | js/publicationsdata.js |
Add full paper details, author info, abstracts, and links. |
| Gallery Images | js/imagedata.js |
Add photos for conference posters, birthdays, or celebrations. |
If you want to run the code locally to test changes before pushing to GitHub:
- Clone the repository.
- Install Jekyll dependencies:
gem install jekyll bundler
- Run the local server:
jekyll serve
- Open your browser to
http://localhost:4000.
_site/Folder: This folder is automatically generated by Jekyll. Do not modify files inside this folder manually, as they will be overwritten.- HTML Files: The HTML files serve as skeletons that parse data from the JS files. Only modify these if you are adding entirely new page structures or features.
If you have questions regarding the code structure or deployment, please contact the repository owner.