Sha256: f1df5e3e999fbc7090bc92d406e2d69d3ba93d466076dff3bf26e947efcd0cd5
Contents?: true
Size: 1.64 KB
Versions: 2
Compression:
Stored size: 1.64 KB
Contents
# Bridgetown-Avatar very simple port of [Jekyll Avatar](https://github.com/benbalter/jekyll-avatar) ## Installation Run this command to add this plugin to your site's Gemfile: ```shell $ bundle add bridgetown-avatar -g bridgetown_plugins ``` ## Usage ```liquid {% avatar github %} ``` or assign the user in a variable: ```liquid {% assign user=github %} {% avatar %} ``` Specify a size: ```liquid {% avatar github size=128 %} ``` ## Testing * Run `bundle exec rspec` to run the test suite * Or run `script/cibuild` to validate with Rubocop and test with rspec together. ## Contributing 1. Fork it (https://github.com/username/my-awesome-plugin/fork) 2. Clone the fork using `git clone` to your local development machine. 3. Create your feature branch (`git checkout -b my-new-feature`) 4. Commit your changes (`git commit -am 'Add some feature'`) 5. Push to the branch (`git push origin my-new-feature`) 6. Create a new Pull Request ---- ## Releasing (you can delete this section in your own plugin repo) To release a new version of the plugin, simply bump up the version number in both `version.rb` and `package.json`, and then run `script/release`. This will require you to have a registered account with both the [RubyGems.org](https://rubygems.org) and [NPM](https://www.npmjs.com) registries. You can optionally remove the `package.json` and `frontend` folder if you don't need to package frontend assets for Webpack. If you run into any problems or need further guidance, please check out our [Bridgetown community resources](https://www.bridgetownrb.com/docs/community) where friendly folks are standing by to help you build and release your plugin or theme.
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bridgetown-avatar-0.1.1 | README.md |
bridgetown-avatar-0.1.0 | README.md |