Skip to content
This repository has been archived by the owner on Aug 28, 2019. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/1.7.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
mmistakes committed Jun 1, 2016
2 parents bd97490 + a06d7c9 commit 0a2c44b
Show file tree
Hide file tree
Showing 15 changed files with 106 additions and 305 deletions.
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
source "https://rubygems.org"

gem "json"
gem "jekyll", "~> 3.0"
gem "jekyll"
gem "jekyll-sitemap"
gem "octopress"
gem "jekyll-feed"
gem "jekyll-paginate"
gem "jekyll-gist"
57 changes: 23 additions & 34 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.3.8)
addressable (2.4.0)
colorator (0.1)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
ffi (1.9.10)
jekyll (3.1.1)
ffi (1.9.10-x64-mingw32)
jekyll (3.1.6)
colorator (~> 0.1)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
Expand All @@ -15,58 +16,46 @@ GEM
mercenary (~> 0.3.3)
rouge (~> 1.7)
safe_yaml (~> 1.0)
jekyll-feed (0.5.1)
jekyll-gist (1.4.0)
octokit (~> 4.2)
jekyll-paginate (1.1.0)
jekyll-sass-converter (1.4.0)
sass (~> 3.4)
jekyll-sitemap (0.10.0)
jekyll-watch (1.3.1)
listen (~> 3.0)
kramdown (1.9.0)
jekyll-watch (1.4.0)
listen (~> 3.0, < 3.1)
json (1.8.3)
kramdown (1.11.1)
liquid (3.0.6)
listen (3.0.5)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
mercenary (0.3.5)
listen (3.0.8)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
mercenary (0.3.6)
multipart-post (2.0.0)
octokit (4.2.0)
sawyer (~> 0.6.0, >= 0.5.3)
octopress (3.0.11)
jekyll (>= 2.0)
mercenary (~> 0.3.2)
octopress-deploy
octopress-escape-code (~> 2.0)
octopress-hooks (~> 2.0)
redcarpet (~> 3.0)
titlecase
octopress-deploy (1.3.0)
colorator
octopress-escape-code (2.1.1)
jekyll (~> 3.0)
octopress-hooks (2.6.1)
jekyll (>= 2.0)
octokit (4.3.0)
sawyer (~> 0.7.0, >= 0.5.3)
rb-fsevent (0.9.7)
rb-inotify (0.9.5)
rb-inotify (0.9.7)
ffi (>= 0.5.0)
redcarpet (3.3.4)
rouge (1.10.1)
safe_yaml (1.0.4)
sass (3.4.21)
sawyer (0.6.0)
addressable (~> 2.3.5)
sass (3.4.22)
sawyer (0.7.0)
addressable (>= 2.3.5, < 2.5)
faraday (~> 0.8, < 0.10)
titlecase (0.1.1)

PLATFORMS
ruby
x64-mingw32

DEPENDENCIES
jekyll (~> 3.0)
jekyll
jekyll-feed
jekyll-gist
jekyll-paginate
jekyll-sitemap
octopress
json

BUNDLED WITH
1.11.2
1.12.5
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ They say three times the charm, so here is another free responsive Jekyll theme

## Getting Started

HPSTR takes advantage of SCSS and data files to make customizing easier. These features require Jekyll 2.x and will not work with older versions of Jekyll.
HPSTR takes advantage of SCSS and data files to make customizing easier. This theme requires Jekyll 3.x and will not work with older versions properly.

To learn how to install and use this theme check out the [Setup Guide](https://mmistakes.github.io/hpstr-jekyll-theme/theme-setup/) for more information.
89 changes: 0 additions & 89 deletions Rakefile.rb

This file was deleted.

48 changes: 28 additions & 20 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Describe your website here.
disqus_shortname:
reading_time: true
words_per_minute: 200
# Your site's domain goes here (eg: //mmistakes.github.io, http://mademistakes.com, etc)
# Your site's domain goes here (eg: https://mmistakes.github.io, http://yourdomain.com, etc)
# When testing locally leave blank or use http://localhost:4000
url:

Expand Down Expand Up @@ -43,6 +43,7 @@ gems:
- jekyll-sitemap
- jekyll-paginate
- jekyll-gist
- jekyll-feed
sass:
sass_dir: _sass
style: compressed
Expand All @@ -54,28 +55,35 @@ permalink: /:categories/:title/
paginate: 5

kramdown:
input: GFM
auto_ids: true
footnote_nr: 1
entity_output: as_char
toc_levels: 1..6
enable_coderay: false

coderay:
coderay_line_numbers: nil
coderay_line_numbers_start: 1
coderay_tab_width: 4
coderay_bold_every: 10
coderay_css: class

# Octopress
# Default extensions
post_ext: md
page_ext: md
# Found in _templates/
post_layout: post
page_layout: page
# Format titles with titlecase?
titlecase: true

include: [".htaccess"]
exclude: ["lib", "config.rb", "Capfile", "config", "Gemfile", "Gemfile.lock", "README.md", "LICENSE", "log", "Rakefile", "Rakefile.rb", "tmp", "less", "*.sublime-project", "*.sublime-workspace", "test", "spec", "Gruntfile.js", "package.json", "node_modules"]
include:
- .htaccess
exclude:
- "*.less"
- "*.sublime-project"
- "*.sublime-workspace"
- .asset-cache
- .bundle
- .jekyll-assets-cache
- .sass-cache
- CHANGELOG
- Capfile
- Gemfile
- Gruntfile.js
- LICENSE
- README
- Rakefile
- config
- gulpfile.js
- lib
- log
- node_modules
- package.json
- spec
- tmp
10 changes: 5 additions & 5 deletions _posts/2011-03-10-sample-post.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ HTML and <abbr title="cascading stylesheets">CSS<abbr> are our tools. Mauris a a

## Code Snippets

Syntax highlighting via Pygments
Syntax highlighting via Rouge

{% highlight css %}
```css
#container {
float: left;
margin: 0 -240px 0 0;
width: 100%;
}
{% endhighlight %}
```

Non Pygments code example

Expand All @@ -90,9 +90,9 @@ Non Pygments code example

Make any link standout more when applying the `.btn` class.

{% highlight html %}
```html
<a href="#" class="btn btn-success">Success Button</a>
{% endhighlight %}
```

<div markdown="0"><a href="#" class="btn">Primary Button</a></div>
<div markdown="0"><a href="#" class="btn btn-success">Success Button</a></div>
Expand Down
18 changes: 8 additions & 10 deletions _posts/2013-05-22-sample-post-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ Here are some examples of what a post with images might look like. If you want t

Apply the `half` class like so to display two images side by side that share the same caption.

{% highlight html %}
```html
<figure class="half">
<img src="/images/image-filename-1.jpg" alt="">
<img src="/images/image-filename-2.jpg" alt="">
<figcaption>Caption describing these two images.</figcaption>
</figure>
{% endhighlight %}
```

And you'll get something that looks like this:

Expand All @@ -42,14 +42,14 @@ And you'll get something that looks like this:

Apply the `third` class like so to display three images side by side that share the same caption.

{% highlight html %}
```html
<figure class="third">
<a href="http://placehold.it/1200x600.jpg"><img src="http://placehold.it/600x300.jpg" alt=""></a>
<a href="http://placehold.it/1200x600.jpg"><img src="http://placehold.it/600x300.jpg" alt=""></a>
<a href="http://placehold.it/1200x600.jpg"><img src="http://placehold.it/600x300.jpg" alt=""></a>
<figcaption>Caption describing these three images.</figcaption>
</figure>
{% endhighlight %}
```

And you'll get something that looks like this:

Expand All @@ -71,16 +71,14 @@ and fill the block with any number of links to images. You can mix relative and

Here is the block you might want to use:

{% highlight jinja %}
{% raw %}
{% capture images %}
```liquid
{% raw %}{% capture images %}
/images/abstract-10.jpg
/images/abstract-11.jpg
http://upload.wikimedia.org/wikipedia/en/2/24/Lenna.png
{% endcapture %}
{% include gallery images=images caption="Test images" cols=3 %}
{% endraw %}
{% endhighlight %}
{% include gallery images=images caption="Test images" cols=3 %}{% endraw %}
```

Parameters:

Expand Down
10 changes: 4 additions & 6 deletions _posts/2013-06-25-video-post.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ description: "Custom written post descriptions are the way to go... if you're no
tags: [sample post, video]
---

<iframe width="560" height="315" src="//www.youtube.com/embed/SU3kYxJmWuQ" frameborder="0"> </iframe>
<iframe width="560" height="315" src="//www.youtube.com/embed/SU3kYxJmWuQ" frameborder="0"></iframe>

Video embeds are responsive and scale with the width of the main content block with the help of [FitVids](http://fitvidsjs.com/).

Not sure if this only effects Kramdown or if it's an issue with Markdown in general. But adding YouTube video embeds causes errors when building your Jekyll site. To fix add a space between the `<iframe>` tags and remove `allowfullscreen`. Example below:

{% highlight html %}
<iframe width="560" height="315" src="//www.youtube.com/embed/SU3kYxJmWuQ" frameborder="0"> </iframe>
{% endhighlight %}
```html
<iframe width="560" height="315" src="//www.youtube.com/embed/SU3kYxJmWuQ" frameborder="0"></iframe>
```
Loading

0 comments on commit 0a2c44b

Please sign in to comment.