A Hugo module that adds a cat that follows your mouse pointer around the page; it leverages oneko.js to include the accompanying JavaScript logic and the GIF image.
Original oneko.js script author: Ariana @ https://adryd.com, https://github.com/adryd325/oneko.js
Brief history of Neko: https://eliotakira.com/neko/
hugo mod init <your site>
hugo mod tidyhugo mod get github.com/ystepanoff/hugo-neko@latestEdit your site's hugo.toml (or hugo.yaml/hugo.json depending on your configuration format) to import the module.
[module]
[[module.imports]]
path = "github.com/ystepanoff/hugo-neko"module:
imports:
- path: "github.com/ystepanoff/hugo-neko"{
"module": {
"imports": [
{
"path": "github.com/ystepanoff/hugo-neko"
}
]
}
}
hugo mod tidy{{ partial "hugo-neko/oneko.html" . }}{{< oneko >}}hugo mod get -u github.com/ystepanoff/hugo-neko@latest
For any questions, issues, or feature requests, please open an issue.
