A theme component for Hugo that allows you to visually build optimized landing pages. Pancakes builder works along side your existing Hugo theme.
PB isn't a HTML generator. Instead of generating static HTML, front-matter is generated, which references micro components. In other words, pages are built entirely with front-matter and PB generates this for you. As a result, the developer is able to achieve similar functionality to a Wordpress website (querying posts) without needing a database. Additionally, critical/non-critical CSS is automatically generated based on the styles in use across the site.
- Image optimization: lazy loading, image processing for responsive images and thumbnails (using Hugo processing or Cloudinary)
- CSS Optimization: automatically inlines critical CSS in the head of your page and then conditionally generates the non-critical stylesheet based on used components
- Navigate between pages: easily browse between pages and sections on your site
- Mobile-preview and development: Quickly view the mobile versions of your page without opening Dev Tools and specify mobile styling and positioning
- Contact forms: build contact forms (powered by Netlify) visually
PB is finally nearing alpha!
For updates on development progress:
- Follow me on Twitter
- Subscribe to the early access email list
You can preview the current development version:
- Clone (or add as a submodule) the repository to your Hugo themes folder
- Modify the active theme in your config.toml to
theme = ["pancakes-builder"]
- Alternatively, add it as a theme component
- Use
layout: pancakes
in your page YML to activate the builder for that specific page.
Ben Bozzay is the lead front-end developer at Fullstack Digital. Pancakes Builder was originally created to simplify landing page development for fullstackdigital.com.