@gethinode/mod-lottie

1.5.11 • Public • Published

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"

Readme

Keywords

Package Sidebar

Install

npm i @gethinode/mod-lottie

Weekly Downloads

3

Version

1.5.11

License

MIT

Unpacked Size

191 kB

Total Files

28

Last publish

Collaborators

  • markdumay