Blaupause screenshot

Blaupause

Author Avatar Theme by Fspoettel
Updated: 7 Jan 2019
73 Stars

[NOT MAINTAINED] Use https://github.com/netlify-templates/victor-hugo instead

Overview:

Blaupause is a Hugo starter kit that is built on npm scripts, webpack, and postcss. It provides a modern web development stack and includes offline support through a service worker. It comes with Hugo, a layout boilerplate, and a build process managed by npm scripts. In development mode, it offers sourcemaps, a browserSync live-reloading environment, and debugging helpers. In production mode, it offers optimized builds and offline support. It also includes JavaScript with webpack, babel, and eslint, CSS with autoprefixer, postcss-import, stylelint, and sanitize.css, and automatic svg sprites using svg-sprite. It also provides Dev Tools such as editorConfig and travis.

Features:

  • Hugo with a layout boilerplate: Blaupause includes Hugo, a static site generator, along with a layout boilerplate to provide a foundation for the website.
  • Build process managed via npm scripts: The build process for the website is managed using npm scripts, allowing for easy automation and customization.
  • Development Mode: Blaupause offers a development mode with sourcemaps, a browserSync live-reloading environment, and debugging helpers to aid in the development process.
  • Production Mode: In production mode, Blaupause provides optimized builds and offline support via a service worker to enhance the performance and user experience of the website.
  • JavaScript: Blaupause includes webpack and babel for managing JavaScript code and ensuring compatibility across different browsers.
  • CSS: Blaupause utilizes autoprefixer, postcss-import, stylelint, and sanitize.css to help with managing CSS and ensuring code quality and consistency.
  • Images/SVG: Blaupause offers automatic SVG sprites using svg-sprite, making it easier to work with SVG images.
  • Hugo Partials: Blaupause includes a Hugo partial to easily embed SVG symbols from a specified location.
  • Dev Tools: Blaupause provides tools such as editorConfig and travis to facilitate development and ensure code quality.

Installation:

To install Blaupause, you need to have Node.js installed on your machine. If the Hugo binary is not available in your $PATH, it will be installed during the npm install process. To initiate a new site, follow these steps:

  1. Clone the Blaupause repository: git clone https://github.com/felics/blaupause project
  2. Navigate to the project folder: cd project
  3. Install the dependencies: npm install
  4. Start the development server: npm start

Summary:

Blaupause is a Hugo starter kit that provides a modern web development stack and offline support through a service worker. It includes Hugo, a layout boilerplate, and a build process managed by npm scripts. With features like sourcemaps, browserSync, and debugging helpers in development mode, and optimized builds and offline support in production mode, Blaupause offers a comprehensive solution for web development. It also includes tools for managing JavaScript, CSS, images/SVG, and offers Hugo partials for embedding SVG symbols. Overall, Blaupause is a powerful toolkit for creating static websites with Hugo and modern web development practices.