See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| module Jekyll | |
| class CategoryIndex < Page | |
| def initialize(site, base, dir, category) | |
| @site = site | |
| @base = base | |
| @dir = dir | |
| @name = 'index.html' | |
| self.process(@name) | |
| self.read_yaml(File.join(base, '_layouts'), 'category_index.html') |
| # An example Jekyll generator. Utilizes the new plugin system. | |
| # | |
| # 1. Make a _plugins directory in your jekyll site, and put this class in a file there. | |
| # 2. Upon site generation, version.html will be created in your root destination with | |
| # # the version of Jekyll that generated it | |
| module Jekyll | |
| class VersionReporter < Generator | |
| safe true |