Skip to content

hanami/snippets

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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.

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

Watchers

Forks

Releases

No releases published

Packages

No packages published