Sha256: f9ea807f3c6e6cf62e9c2824870b95c124d2b6c74141490ddeaf13af8f1d7441
Contents?: true
Size: 1.22 KB
Versions: 2
Compression:
Stored size: 1.22 KB
Contents
# bridgetown-slim A Bridgetown plugin to provide support for [Slim templates](http://slim-lang.com). _Requires Bridgetown 0.16 or greater._ ## Installation Run this command to add this plugin to your site's Gemfile: ```shell $ bundle add bridgetown-slim -g bridgetown_plugins ``` ## Usage Simply name your page, layout, or partial with a `.slim` extension. The available features will be fairly analogous to [the ERB support](https://beta.bridgetownrb.com/docs/erb-and-beyond#haml-and-slim) in Bridgetown, including support for helpers, partials, and rendering Liquid components. You can even [embed Markdown and other template languages](https://github.com/slim-template/slim#embedded-engines-markdown-) using standard Slim syntax. ## 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/bridgetown/bridgetown-slim/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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bridgetown-slim-1.0.1 | README.md |
bridgetown-slim-1.0.0 | README.md |