LoremIpsum is a jekyll plugin. The plugin can be used as a tag for jekyll. You can get some dummy text for your webpage, without copy & pasting the Lorem Ipsum words yourself.
- Use the tag
{% kw_lorem_ipsum 30w %}
to get 30 different words. - Use the tag
{% kw_lorem_ipsum random 4p 7miw 12maw %}
to get 4 paragraphs between 7 and 12 words.
Add this section to your application's Gemfile
inside the jekyll_plugins
and execute bundle install
group :jekyll_plugins do
gem 'jekyll-kw-loremipsum'
end
Or install the dependency with bundle
itself, you can use the option --skip-install
, when bundle install
will be called later
bundle add jekyll-kw-loremipsum --group jekyll_plugins
Then add the following to your site's _config.yml
to activate the plugin, see also the Configuration section to change the default configuration.
plugins:
- jekyll-kw-loremipsum
The Plug-In is tested with jekyll 3.8, 3.9, 4.0, 4.1, 4.2 and 4.3!
- ...
- Build GitHub CI workflows
- Prepare CI-workflow with Appraisal
bundle exec appraisal generate
- 0.0.2 Read the NextSteps.md and follow the introduction steps
- 0.0.1 Install Visual Studio Extension - Folder Templates, and run
NewJekyllPlugInAsRubyGem
to get the a skeleton project from template - 0.0.0 Create project
jekyll-kw-loremipsum
from template
Add jekyll-kw-loremipsum
section to _config.yml
configure the plugin globally. If you want to use defaults you can omit the config-section.
jekyll-kw-loremipsum:
my_boolean: false
my_string: 'sha384'
my_number: 1.23
Configuration values, the default
value is in bold
Key | Description | Values (default) |
---|---|---|
my_boolean | A boolean value | false, true |
my_string | A string | foo, hello plugin, bar |
my_number | A (decimal) number | 0 |
TODO: Add notes, hints and learnings
TODO: How to contribute, e.g. CONTRIBUTING.md
- Run linting with rubocop
bundle exec rake rubocop
- Run test with the latest version
bundle exec rake test
- Run tests with all appraisal
bundle exec rake appraisaljobs
TODO: Add big thanks and kudos persons / links / blogs
The project was created from the template GitHub n13org/jekyll-plugin-template. We would ❤️ when you keep the reference. Thanks!