Skip to content

Commit

Permalink
Merge pull request barryclark#126 from PabloDinella/master
Browse files Browse the repository at this point in the history
Fix typo/markup in theme setup page
  • Loading branch information
mmistakes committed Dec 15, 2015
2 parents f8a4616 + 4d94cff commit 1a0e590
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions theme-setup/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ General notes and suggestions for customizing **HPSTR**.

## Setup for an Existing Jekyll site

1. Clone the following folders: `_includes`, `_layouts`, '_sass', `assets`, and `images`.
2. Clone the following folders/files and personalize content as need: `about/`, `posts/`, `tags/`, `feed.xml`. and 'index.html'.
1. Clone the following folders: `_includes`, `_layouts`, `_sass`, `assets`, and `images`.
2. Clone the following folders/files and personalize content as need: `about/`, `posts/`, `tags/`, `feed.xml` and `index.html`.
3. Set the following variables in your `config.yml` file:

{% highlight yaml %}
Expand Down Expand Up @@ -212,7 +212,7 @@ On by default. To turn off remove `reading_time` from `_config.yml. Default word

A good rule of thumb is to keep feature images nice and wide so you don't push the body text too far down. An image cropped around around 1024 x 256 pixels will keep file size down with an acceptable resolution for most devices. If you want to serve these images responsively I'd suggest looking at the [Jekyll Picture Tag](https://github.com/scottjehl/picturefill)[^2] plugin.

The two layouts make the assumption that the feature images live in the *images* folder. To add a feature image to a post or page just include the filename in the front matter like so.
The two layouts make the assumption that the feature images live in the *images* folder. To add a feature image to a post or page just include the filename in the front matter like so.

{% highlight yaml %}
image:
Expand Down Expand Up @@ -287,4 +287,4 @@ This theme is free and open source software, distributed under the [MIT License]

[^1]: Used to generate absolute URLs in `feed.xml`, and for canonical URLs in `head.html`. Don't include a trailing `/` in your base url ie: http://mademistakes.com. When developing locally I suggest using http://localhost:4000 or whatever localhost you're using to properly load all theme stylesheets, scripts, and image assets. If you leave this variable blank all links will resolve correctly except those pointing to home.

[^2]: If you're using GitHub Pages to host your site be aware that plugins are disabled. So you'll need to build your site locally and then manually deploy if you want to use this sweet plugin.
[^2]: If you're using GitHub Pages to host your site be aware that plugins are disabled. So you'll need to build your site locally and then manually deploy if you want to use this sweet plugin.

0 comments on commit 1a0e590

Please sign in to comment.