Skip to content

Latest commit

 

History

History
63 lines (51 loc) · 2.76 KB

README.md

File metadata and controls

63 lines (51 loc) · 2.76 KB

Hinode Module - Lottie

A Hugo module to add animations powered by Lottie to your Hinode site

About

Logo

Hinode is a clean blog theme for Hugo, an open-source static site generator. Hinode is available as a template, and a main theme. This repository maintains a Hugo module to add Lottie to a Hinode site. Visit the Hinode documentation site for installation instructions.

Notes

This modules uses Lottie Light by default. The lottie_light.js player is a lighter version of lottie that supports only the svg renderer and does not support expressions or effects. Canvas and html renderers are not supported either.

You can adjust the mount point in config.toml to use the default library instead. Please note that you need to enable unsafe-eval in your Content Security Policy then (see Lottie issue #2173).

[[module.imports.mounts]]
source = "build/player/lottie.js"
target = "assets/js/modules/lottie/lottie.js"