Your GitHub Pages site has been reorganized with:
- Fixed folder structure - Folders now use underscore prefix (
_risk_assessments,_safe_work_procedures,_templates) so Jekyll properly builds them as collections - Professional header with logo placeholders - Ready for you to add actual logos
- Modern landing page - index.md now has a hero section, card-based layout, and better visual hierarchy
filesghpages/
├── _risk_assessments/ # Risk Assessment documents
│ └── bambu-h2d.md
├── _safe_work_procedures/ # Safe Work Procedure documents
│ └── bambu-h2d.md
├── _templates/ # Templates for new documents
│ ├── README.md # Template usage guide
│ ├── risk-assessment-template.md
│ └── safe-work-procedure-template.md
├── _layouts/ # Jekyll layouts
│ ├── default.html # Main layout with header/nav/footer
│ └── document.html # Document-specific layout
├── assets/
│ ├── css/style.css # Updated with landing page styles
│ ├── sail-logo.pdf # Your logo (PDF)
│ └── usyd-logo.pdf # University logo (PDF)
└── index.md # Modern landing page
The header currently has placeholder text. To add your actual logos:
# Convert PDFs to PNG (requires ImageMagick or similar)
convert -density 300 assets/sail-logo.pdf assets/images/sail-logo.png
convert -density 300 assets/usyd-logo.pdf assets/images/usyd-logo.pngThen update _layouts/default.html:
<div class="logo-left">
<img src="{{ '/assets/images/usyd-logo.png' | relative_url }}" alt="University of Sydney" style="max-height: 80px;">
</div>
<div class="logo-right">
<img src="{{ '/assets/images/sail-logo.png' | relative_url }}" alt="SAIL Laboratory" style="max-height: 80px;">
</div>The current setup works fine with text - it's clean and professional. You can customize the text in _layouts/default.html around line 14-27.
bundle install
bundle exec jekyll serve-
Copy template:
cp _templates/risk-assessment-template.md _risk_assessments/new-equipment.md
-
Edit
_risk_assessments/new-equipment.md:- Replace all
[placeholders]with actual information - Update
permalink: /risk-assessments/new-equipment/
- Replace all
-
Add to
index.md:<div class="document-card"> <h3>Your Equipment Name</h3> <div class="card-meta"> <strong>Reference:</strong> SAIL-RA-XXX-001 | <strong>Version:</strong> 1.0 | <strong>Status:</strong> <span class="metadata-badge status-approved">Approved</span> </div> <p>Description of the risk assessment...</p> <a href="/risk-assessments/new-equipment/" class="cta-button">View Risk Assessment →</a> </div>
Same process, just use the SWP template and folder.
- Hero section with gradient background
- Card-based layout for documents (hover effects)
- Feature grid for resources and quick reference
- Responsive design - works on mobile, tablet, desktop
- Three-column layout: Left logo | Center title | Right logo
- Navigation bar with active state highlighting
- Fully responsive - stacks on mobile
- Professional cards with metadata
- Hover animation (lifts up on hover)
- Clear call-to-action buttons
- Easy to add more documents
-
Commit all changes:
git add . git commit -m "Reorganized site with collections and modern landing page" git push
-
Enable GitHub Pages:
- Go to repository Settings → Pages
- Source: Deploy from branch
main - Save
-
Site will be live at:
https://[username].github.io/[repo-name]/
Edit assets/css/style.css:
:root {
--header-blue: rgb(203, 216, 240); /* Header background */
--text-color: #333; /* Main text */
--link-color: #0066cc; /* Links and buttons */
}
.hero-section {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
/* Change gradient colors here */
}Edit _layouts/default.html around line 19-21:
<div class="header-title">
<h1>Your Laboratory Name</h1>
<p class="subtitle">Your Subtitle</p>
</div>Make sure folder names start with underscore:
- ✅
_risk_assessments/ - ❌
risk-assessments/
Check permalink in frontmatter matches folder structure:
permalink: /risk-assessments/document-name/Clear Jekyll cache and rebuild:
bundle exec jekyll clean
bundle exec jekyll serve- Convert your logos to PNG/SVG and add them to the header
- Add more equipment documents using the templates
- Customize colors to match your branding
- Update contact information in index.md
- Test thoroughly before publishing
Need help? Check README.md for detailed documentation or _templates/README.md for template usage guide.