Skip to content

florenthobein/hugo-start

Repository files navigation

Hugo Start

Build Status

Simple hugo backbone using bower for public library management, LESS as a style preprocessor & the grunt task runner

Features

  • Static generation ;
  • Live reload for development ;
  • Support for LESS ;
  • Support for i18n ;
  • Assets processing ;
  • Because the hugo structure is kept intact, you can still use the hugo CLI.

Installation

git clone git@github.com:florenthobein/hugo-start.git hugo_start && \
cd hugo_start && \
npm install

Usage

grunt

Your website will be accessible at http://localhost:9000.

Deployment

grunt dist

The folder build/dist/ will contain the static site ready for production.

How To...

...add a new external library

After adding the desired library by its bower install command, run grunt init to wire the libraries in the layout.

...modify the name of the compiled css/js files

You can bump the package by using the task grunt bump that will change the semver version of the package. If you want to modify the minor or major version of the package, use grunt bump:minor or grunt bump:major.

...modify a text

Either in the corresponding page file in the content/ folder, or in the i18n/ folder.

License

Copyright (c) 2017 Florent Hobein. Licensed under the MIT license.

About

Simple hugo backbone using bower, LESS & grunt

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published