@@ -195,6 +195,17 @@ git push origin feature/team-member-[name]
195195# Open PR on GitHub
196196```
197197
198+ #### Adding Gallery Photos
199+ ``` bash
200+ git checkout -b feature/add-gallery-photos-2025-12-02
201+ # Add photos to images/picpic/
202+ bundle exec jekyll serve # Test locally
203+ git add images/picpic/
204+ git commit -m " content: add lab photos from [event]"
205+ git push origin feature/add-gallery-photos-2025-12-02
206+ # Open PR on GitHub
207+ ```
208+
198209#### Layout/Design Changes
199210``` bash
200211git checkout -b feature/[component]-redesign
@@ -294,10 +305,10 @@ git push origin hotfix/critical-issue
294305default.html (base template)
295306├── homelay.html (homepage with carousel + news)
296307├── textlay.html (simple text pages)
308+ ├── gallerylay.html (gallery with masonry layout)
297309├── team.html (team member grids)
298310├── publications.html (publication list wrapper)
299311├── gridlay.html (publications grid)
300- ├── gridlay2.html (generic grid)
301312└── bib.html (individual bibliography items)
302313```
303314
@@ -323,16 +334,15 @@ default.html (base template)
323334- ` .github/ISSUE_TEMPLATE/ ` - Issue templates
324335- ` bin/deploy ` - Manual deployment script
325336
326- #### Layouts (12 files)
337+ #### Layouts (8 files)
3273381 . ** default.html** - Base template with ` <html> ` , header, footer
3283392 . ** homelay.html** - Homepage two-column layout (main content + news sidebar)
3293403 . ** textlay.html** - Full-width text layout for simple pages
330- 4 . ** team .html** - Team page with member grids
331- 5 . ** publications .html** - Publications page wrapper
332- 6 . ** gridlay .html** - Grid layout for publications
333- 7 . ** gridlay2 .html** - Generic grid layout (available for future use)
341+ 4 . ** gallerylay .html** - Gallery layout with CSS Grid masonry and optimized spacing
342+ 5 . ** team .html** - Team page with member grids
343+ 6 . ** publications .html** - Publications page wrapper
344+ 7 . ** gridlay .html** - Grid layout for publications
3343458 . ** bib.html** - Individual bibliography item rendering
335- 9 . ** piclay.html** - Picture gallery layout (unused, can be deleted)
336346
337347#### Includes (10 files)
3383481 . ** head.html** - HTML ` <head> ` section with metadata, stylesheets, CDN links
@@ -364,11 +374,11 @@ default.html (base template)
3643745 . ** funding.md** - Funding acknowledgements
3653756 . ** contact.md** - Contact information and directions
3663767 . ** allnews.md** - Complete news archive
367- 8 . ** gallery.md** - Lab life photo gallery
377+ 8 . ** gallery.md** - Lab life photo gallery with CSS Grid masonry layout
3683789 . ** aboutwebsite.md** - Template usage guide
36937910 . ** 404.md** - Custom error page with navigation buttons
370380
371- #### Stylesheets (6 files)
381+ #### Stylesheets (7 files)
3723821 . ** css/main.scss** - Main stylesheet entry point (630 lines, cleaned and organized Nov 2025)
373383 - Imports all SASS partials
374384 - Defines layout system (layout-wide vs layout-fixed)
@@ -379,14 +389,15 @@ default.html (base template)
3793894 . ** _ sass/_ components.scss** - Custom components (buttons, panels, cards)
3803905 . ** _ sass/_ publications.scss** - Publication card styles (30% image width, top-aligned)
3813916 . ** _ sass/_ themes.scss** - Light/dark theme CSS custom properties
392+ 7 . ** _ sass/_ gallery.scss** - Gallery masonry layout styles (CSS Grid with responsive columns)
382393
383- #### JavaScript (2 files)
394+ #### JavaScript (3 files)
3843951 . ** js/theme-toggle.js** - Three-state theme controller (light/dark/auto)
385- 2 . ** js/npm.js** - Legacy npm-related script (likely unused, can be deleted)
396+ 2 . ** js/gallery-masonry.js** - Gallery masonry fallback for browsers without CSS Grid masonry support
397+ 3 . ** js/external-links.js** - Automatically opens external links in new tabs
386398
387- #### Ruby Plugins (2 files)
388- 1 . ** _ plugins/hideCustomBibtex.rb** - BibTeX keyword filter
389- 2 . ** _ plugins/markdown.rb** - Markdown include tag
399+ #### Ruby Plugins (1 file)
400+ 1 . ** _ plugins/hideCustomBibtex.rb** - BibTeX keyword filter for bibliography entries
390401
391402#### Image Directories (5 directories, 52+ files)
3924031 . ** images/homepic/** - Homepage carousel (auto-loaded, 4 images)
@@ -867,19 +878,12 @@ headline: "Text with [link](OPENINGS_LINK)"
867878- ✅ 22 PDFs from `assets/papers/`
868879- ✅ 4 PDFs from `assets/vacancies/`
869880
870- **Total Deleted:** 24+ items (~2-3MB freed)
871-
872- # ## Remaining Cleanup Items (1 item)
873-
874- 1. **`_layouts/piclay.html`** - Picture gallery layout (unused)
875- ` ` ` bash
876- rm _layouts/piclay.html
877- ` ` `
881+ **Total Deleted:** 28+ items (~3MB freed)
878882
879883# ## Files to Keep
880884
881885**Essential Layouts (8 files):**
882- - All active layouts : default, homelay, textlay, team, publications, gridlay, gridlay2 , bib
886+ - All active layouts : default, homelay, textlay, gallerylay, team, publications, gridlay, bib
883887
884888**Active Data Files (8 files):**
885889- All team and content data files in `_data/`
@@ -972,29 +976,6 @@ headline: "Text with [link](OPENINGS_LINK)"
972976 - Check for slow-loading pages
973977 - Review CDN performance
974978
975- # ## Next Cleanup (Immediate)
976-
977- ` ` ` bash
978- # Delete remaining unused file
979- rm _layouts/piclay.html
980-
981- # Commit cleanup
982- git add -A
983- git commit -m "chore: remove unused file (piclay.html)"
984- git push
985- ` ` `
986-
987- # ## Next Review
988-
989- **Scheduled:** December 2025
990-
991- **Tasks:**
992- - [ ] Review and update this documentation
993- - [ ] Check for new unused files
994- - [ ] Audit image usage
995- - [ ] Review security configurations
996- - [ ] Update changelog with new features
997-
998979---
999980
1000981# # Verification Commands
0 commit comments