Professional agency services demo site built with Hugo and the Andromeda Light theme.
Part of Matthew Jamison's portfolio showcasing modern web development capabilities.
- Hugo Static Site Generator (v0.121+)
- Andromeda Light Theme
- Deployed on Cloudflare Pages
- TailwindCSS for styling
- Content Security Policy (CSP) headers configured
- HTTPS enforced via Strict-Transport-Security
- Safe markup rendering with
unsafe = false - Frame options and referrer policies configured
- WebP image optimization (savings: 89-94% on blog images)
- Image quality tuned to 80% for optimal balance
- Long cache expiration (720 hours)
- Optimized build configuration
- Open Graph and Twitter Card meta tags
- Schema.org JSON-LD for WebSite type
- Canonical URLs on all pages
- Preconnect/DNS prefetch for external resources
- Comprehensive sitemap and robots.txt
- Hugo (v0.121+)
- Node.js (for PostCSS)
# Clone repository
git clone <repo-url>
cd demo-agency
# Install dependencies
npm install
# Start development server
hugo server -DVisit http://localhost:1313 in your browser.
# Production build
hugo --minify
# Output is in the ./public/ directoryThe site is configured for Cloudflare Pages:
- Connect your GitHub repository to Cloudflare Pages
- Set Build command to:
hugo --minify - Set Publish directory to:
public - Domain: https://demo-agency.pages.dev
/content/english/- Main content pages and blog posts/assets/images/- Image assets (optimized WebP versions available)/data/- YAML data files for dynamic content/static/- Static files (robots.txt, _headers)
Large images are available in both original and WebP formats:
- JPG to WebP conversion saves 89-94% file size
- PNG to WebP conversion saves 41%+ file size
- Images processed at quality level 80 for visual fidelity
To use WebP images in content:
Browsers that don't support WebP will need a fallback:
<picture>
<source srcset="image.webp" type="image/webp">
<img src="image.jpg" alt="Description">
</picture>Key Hugo configuration (hugo.toml):
baseURL: https://demo-agency.pages.devtheme: andromeda-lightunsafe = false: Safe markup renderingquality = 80: Image optimization level
After optimization:
- Total image directory: 7.0 MB
- Individual blog images: 44-94 KB (WebP)
- Estimated bandwidth savings: 3-4 MB per unique visitor
- Portfolio: matthewjamison.dev
- GitHub: @MatthewJamisonJS