From efabb084511a57a4a4c938c660dd69b73d2b684f Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Mon, 12 Aug 2013 14:28:20 -0400 Subject: [PATCH] Add link post type example and documentation --- README.md | 4 ++++ _posts/2013-08-12-sample-link-post.md | 11 +++++++++++ theme-setup.md | 4 ++++ 3 files changed, 19 insertions(+) create mode 100644 _posts/2013-08-12-sample-link-post.md diff --git a/README.md b/README.md index 02c30e9..9eb7082 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/_posts/2013-08-12-sample-link-post.md b/_posts/2013-08-12-sample-link-post.md new file mode 100644 index 0000000..4a80409 --- /dev/null +++ b/_posts/2013-08-12-sample-link-post.md @@ -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. \ No newline at end of file diff --git a/theme-setup.md b/theme-setup.md index c54671b..c02247a 100644 --- a/theme-setup.md +++ b/theme-setup.md @@ -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.