Skip to content

vivshaw/octopug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

octopug. 🐶

Pug mixin for tholman's GitHub corner! Now you can add a stylish GitHub link to your Node projects as easy as npm install.

All credit for the awesome GitHub corner design goes of course to its creator, Tim Holman. I merely Pugified it, wrapped it in a mixin, and set it up for npm deployment.

Usage

npm install --save octopug

Then add to whichever Pug file you want it on:

include /node_modules/octopug/octopug.pug
+octopug('https://github.com/YOUR-REPO-HERE', bgColor, catColor)

bgColor & catColor should be strings containing a CSS color. bgColor defaults to '#000', catColor defaults to '#fff'.

License & Acknowledgements

Not built or endorsed by GitHub; just a fan. Octocat logo belongs to & represents GitHub.

GitHub corner design (c) 2016 Tim Holman - http://tholman.com

About

Pug mixin to automagically add @tholman's awesome GitHub corners

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages