Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

Releases

No releases published

Packages

No packages published