Skip to content

Commit

Permalink
Add link post type example and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mmistakes committed Aug 12, 2013
1 parent c5abe85 commit efabb08
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,10 @@ Not sure if this only effects Kramdown or if it's an issue with Markdown in gene

Twitter cards make it possible to attach images and post summaries to Tweets that link to your content. Summary Card meta tags have been added to `head.html` to support this, you just need to [validate and apply your domain](https://dev.twitter.com/docs/cards) to turn it on.

#### Link Post Type

So Simple Theme now supports **link posts**, made famous by John Gruber. To activate just add `link: http://url-you-want-linked` to the post's YAML front matter and you're done.

---

## Further Customization
Expand Down
11 changes: 11 additions & 0 deletions _posts/2013-08-12-sample-link-post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
layout: post
title: "Sample Link Post"
description: "Example and code for using link posts."
category: articles
tags: [sample post, link post]
comments: true
link: http://mademistakes.com
---

So Simple Theme now supports **link posts**, made famous by John Gruber. To activate just add `link: http://url-you-want-linked` to the post's YAML front matter and you're done.
4 changes: 4 additions & 0 deletions theme-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ Not sure if this only effects Kramdown or if it's an issue with Markdown in gene

Twitter cards make it possible to attach images and post summaries to Tweets that link to your content. Summary Card meta tags have been added to `head.html` to support this, you just need to [validate and apply your domain](https://dev.twitter.com/docs/cards) to turn it on.

#### Link Post Type

So Simple Theme now supports **link posts**, made famous by John Gruber. To activate just add `link: http://url-you-want-linked` to the post's YAML front matter and you're done. Here's an [example of a link post]({{ site.url }}/articles/sample-link-post) if you need a visual.

## Further Customization

To make things easier I use LESS to build So Simple Theme's stylesheets. If you want to make some minor cosmetic alterations, take a look at `variables.less` in `assets/less/`. Changing some of the following variables can help make the theme your own. Just compile `main.less` using your preprocessor of choice and off you go -- I like [CodeKit](http://incident57.com/codekit/) for OS X and [Prepros](http://alphapixels.com/prepros/) for Windows.
Expand Down

0 comments on commit efabb08

Please sign in to comment.