
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
generator-jekyllrb
Advanced tools
A Yeoman generator, workflow, and build system for the Jekyll static site generator. Yo, Jekyllrb!
A Yeoman generator, workflow, and build system for the Jekyll static site generator. Yo, Jekyllrb!
Generator-jekyllrb wraps the Jekyll static site generator in a Yeoman development workflow. Scaffold a site with Yo, manage front end packages with Bower, and run development and build tasks with Grunt. Start with Jekyll's standard template or the HTML5 Boilerplate, use Css and Javascript preprocessors, lint and run reports on your code, minify and add revision hashes to your assets — all the modern web development practices you know you should be doing. Generator-jekyllrb makes it easy.
Generator-jekyllrb doesn't install themes or provide a finished site out of the box. It's for developers who want a solid starting point and a modern workflow with which to build a site themselves. It's also a great way to get familiar with Yeoman, Grunt, and Bower without knowing any javascript MVC frameworks.
npm install -g yo
npm install generator-jekyllrb
yo jekyllrb
Yeoman is an opinionated developer workflow. Developers are opinionated too. Generator-jekyllrb lets you make the important decisions — site structure, toolset, and site configuration — while it sets up a Grunt workflow for you.
Choose between the default Jekyll site template and the latest HTML5 ★ Boilerplate, with Grunt task integration baked in.
Sass, Compass, and Coffeescript are available if you want them. Seriously, give the word and the generator will download, install, and configure your preprocessors and bundle them together in a convenient Grunt task. No Codekit, guard, or compass watch
needed.
We're not telling you what to do here. _scss
, assets
, src
, lib
— name and organize directories however you like and generator-jekyllrb will build them, configure tasks, and move all default assets to where they belong.
Jekyll is what this is all about, right? The generator streamlines site creation by letting you set some simple options, configuring Jekyll for Grunt integration, and installing any extra libraries (e.g., markdown processors like redcarpet) if they're needed.
Once scaffolding is finished you have some handy Grunt tasks available. These help you develop your site, test it, and build an optimized distribution for deployment.
grunt server
This is your development workhorse. Compiles everything, fires up a static server with Livereload, and opens a browser for you to test in. When you change a source file Grunt will automatically recompile assets and reload the browser in place. Sweet.
You can usse the target :build
(as in grunt server:build
) to run the site through the build process, launch a server, and review your site before deployment.
grunt report
Gives you reports on the quality of your code with Jshint, CssLint, and CSSCSS. BAMF you just became a better developer. All reports are configurable through the Gruntfile or the task's .*rc setting files.
grunt build
Ready to deploy another of your bad creations? build
runs your site through a buld process that combines files, minifies css, images, and html, uglifies js, and revvs everything to bust caches. The built site is output in a 'dist' folder, which you can version control separately and deploy as you see fit. Read the Usemin documentation for more details, or just play around with it. Awesome.
grunt
(default) and moregrunt
by itself is a custom task that runs reports and then builds your site. There are many individual task and targets in the Gruntfile, all of which are available for you to use on the command line, so read through that thing. And Grunt's so easy to use you'll probably want to set up some of your own.
yo
takes some command line options.
--skip-install
skips the automatic execution of Bower and npm after scaffolding has finished.
A full workflow example, including scaffolding, development, managing components with Bower, building a distribution, and deploying is coming.
Report bugs and feature proposals in the Github issue tracker. In lieu of a formal styleguide, take care to maintain the existing coding style. Lint and test your code using Grunt.
0.2.2, May 30, 2013: Gruntfile and Bower workflow refinement.
0.2.1, May 30, 2013: Bugfixes.
0.2.0, May 29, 2013: Add Autoprefixer, rewrite Grunt workflow, bugfixes.
0.1.3, May 29, 2013: Bugfixes.
0.1.2, May 24, 2013: Documentation updates, name change.
0.1.1, May 21, 2013: Documentation updates.
0.1.0, May 21, 2013: Initial release.
FAQs
Supercharge Jekyll development with Yeoman. Yo, Jekyllrb!
The npm package generator-jekyllrb receives a total of 4 weekly downloads. As such, generator-jekyllrb popularity was classified as not popular.
We found that generator-jekyllrb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.