Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

Latest commit

 

History

56 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hanami Snippets

Learn Hanami by reading, short, curated, manually crafted code snippets.

Requirements

  • Git (brew install git)
  • Hugo (brew install hugo)
  • NPM or Yarn (brew install npm or brew install yarn)
  • Carbon Now CLI (npm i -g carbon-now-cli or yarn global add carbon-now-cli)

How to contribute

  1. Fork the repository.
  2. Copy the .carbon-now.json into your home directory.
  3. Create a new post via hugo new posts/my-cool-snippet.md.
  4. Edit the contents. Make sure the first code snippet in the post is the most representative of the contents you want to share.
  5. Start the server and see how the new post looks like: bin/server.
  6. Generate a new image for social sharing with bin/export my-cool-snippet. This must match the file name of the post.
  7. Open a Pull Request.

Copyright

Hanami © 2014-2018 Luca Guidi - Released under the MIT License. The contents of this website are released under Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0).

About

Learn Hanami by reading, short, curated, manually crafted code snippets.

Topics

Resources

Stars

9 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages