From 678d494d90bfd43ee12a03104ec2247cefabbfbb Mon Sep 17 00:00:00 2001 From: Ben Balter Date: Tue, 8 Mar 2016 12:03:14 -0500 Subject: [PATCH] no GFM for you --- site/_config.yml | 3 --- site/_docs/history.md | 3 ++- site/_docs/themes.md | 20 ++++++-------------- 3 files changed, 8 insertions(+), 18 deletions(-) diff --git a/site/_config.yml b/site/_config.yml index df2431f8..a7c59653 100644 --- a/site/_config.yml +++ b/site/_config.yml @@ -2,9 +2,6 @@ markdown: kramdown highlighter: pygments permalink: /news/:year/:month/:day/:title/ excerpt_separator: "" -kramdown: - input: GFM - hard_wrap: false gauges_id: 503c5af6613f5d0f19000027 google_analytics_id: UA-50755011-1 diff --git a/site/_docs/history.md b/site/_docs/history.md index 12da9d24..6ebeec3a 100644 --- a/site/_docs/history.md +++ b/site/_docs/history.md @@ -1,5 +1,6 @@ --- -title: History +:title: History +title: layout: docs permalink: "/docs/history/" note: This file is autogenerated. Edit /History.markdown instead. diff --git a/site/_docs/themes.md b/site/_docs/themes.md index 6a77e008..97e8ea81 100644 --- a/site/_docs/themes.md +++ b/site/_docs/themes.md @@ -10,17 +10,13 @@ Jekyll has an extensive theme system, which allows you to leverage community-mai 1. To install a theme, first, add the theme to your site's `Gemfile`: - ```ruby - gem 'my-awesome-jekyll-theme' - ``` + gem 'my-awesome-jekyll-theme' 2. Save the changes to your `Gemfile` 3. Run the command `bundle install` to install the theme 4. Finally, activate the theme by adding the following to your site's `_config.yml`: - ```yml - theme: my-awesome-jekyll-theme - ``` + theme: my-awesome-jekyll-theme You can have multiple themes listed in your site's Gemfile, but only one theme can be selected in your site's `_config.yml`. {: .note .info } @@ -43,7 +39,7 @@ Refer to your selected theme's documentation and source repository for more info Jekyll themes are distributed as Ruby gems. The only required file is the [Ruby Gemspec](http://guides.rubygems.org/specification-reference/). Here's an example of a minimal Gemspec for the `my-awesome-jekyll-theme` theme, saved as `/my-awsome-jekyll-theme.gemspec`: -```ruby +{% highlight ruby %} Gem::Specification.new do |s| s.name = 'My Awesome theme' s.version = '0.1.0' @@ -54,7 +50,7 @@ Gem::Specification.new do |s| s.homepage = 'https://github.com/jekyll/my-awesome-jekyll-theme' s.files = `git ls-files -z`.split("\x0").grep(%r{^(assets|_sass|_includes|_layouts)/}) end -``` +{% endhighlight %} ### Layouts and includes @@ -96,12 +92,8 @@ Themes are published via [RubyGems.org](https://rubygems.org). You'll need a Rub 1. First, package your theme, by running the following command, replacing `my-awesome-jekyll-theme` with the name of your theme: - ``` - gem build my-awesome-jekyll-theme.gemspec - ``` + gem build my-awesome-jekyll-theme.gemspec 2. Next, push your packaged theme up to the RubyGems service, by running the following command, again replacing `my-awesome-jekyll-theme` with the name of your theme: - ``` - gem push my-awesome-jekyll-theme-*.gem - ``` + gem push my-awesome-jekyll-theme-*.gem