From be1cb20e0cb937bc109aa1d901b7089c2eb0c2cd Mon Sep 17 00:00:00 2001 From: Frank Taillandier <frank.taillandier@gmail.com> Date: Mon, 12 Sep 2016 17:45:22 +0200 Subject: [PATCH] Move instruction for CSS in install section --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index e3d933e29f..2e291b5e20 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,17 @@ theme: minima And then execute: $ bundle + +Then add a `css/main.scss` file based on the following template, don't forget to include the frontmatter: + +```css +--- +--- + +@import "minima"; +``` + +You can choose to override the [`_includes/head.html `](_includes/head.html) file to specify a custom style path. ## Enabling comments (via Disqus) @@ -57,17 +68,6 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/jekyll To set up your environment to develop this theme, run `bundle install`. -Then add a `css/main.scss` file based on the following template, don't forget to include the frontmatter: - -```css ---- ---- - -@import "minima"; -``` - -You can choose to override the [`_includes/head.html `](_includes/head.html) file to specify a custom style path. - To test your theme, run `bundle exec rake preview` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme and the contents of the `example/` directory. As you make modifications to your theme and to the example site, your site will regenerate and you should see the changes in the browser after a refresh. ## License