How to use Feeling Responsive
Theme Documentation
This content is open source. Help improve it.
Different Page/Posts Formats {#formats}
Feeling Responsive supports you with different templates for your content. These are the actual page/post formats:
Page/Post
The page/post format has no sidebar by default, its content is centered and beneath the content the visitor gets some metadata like categories, tags, date and author if provided via data in front matter of the post.
use in front matter via: layout: page
Page/Post with a left or right sidebar
If you want to show the sidebar, just enter sidebar: left or sidebar: right in front matter, and whoops, there it is! To customize the content of the sidebar, open _includes/sidebar.html.
Page/Post with or without metadata
If you want to show metadata like categories, tags and date at the end of the page, just enter show_meta: true. It's on by default. You can change it via config.yml. To turn of metadata just enter – yes, you guessed right – show_meta: false.
Page Full Width
If you want full control of styling a page, than use the page fullwidth template. To set up a grid, just use the foundation grid system.
use in front matter via: layout: page-fullwidth
Frontpage
This template is special. It allows you to define three widgets which are displayed with a headline, image, description and a link to the content. It's used for the homepage of this website.
use in front matter via: layout: frontpage
Video
If you're a video producer or cineast, you'll like the video template. It darkens the layout to black and lets the video stand out full-width.
use in front matter via: layout: video
Up to table of contents {: .text-right }
Style your content with {#styling}
Feeling Responsive offers lots of possibilities to style your articles. You can style your content in different ways. There are elements like subheadlines, feature images, header images, homepage images, meta data like categories and tags and many more.
subheadlines
If you need a subheadline for an article, just define a subheadline in front matter like this:
subheadline: "Subheadline"
Quotes
Quotes mix it up a little bit, if you write long articles. So use quotes:
Age is an issue of mind over matter. If you don't mind, it doesn't matter. Mark Twain
Up to table of contents {: .text-right }
Comments
You can use comments with Feeling Responsive by the way of Disqus. If you want to use Disqus-Comments just open config.yml and add your disqus_shortname. More on how to use Disqus ›
By default comments are turned off. You can customize the default behaviour in config.yml. To turn on comments just add comments: true to front matter using the page layout layout: page.
Up to table of contents {: .text-right }
Responsive Videos
With foundation responsive videos are easy. More ›
Code to use for flexible videos
<div class="flex-video">
<iframe with video />
</div>
## Images: Title, Thumbnails, Homepage {#images} There are several types of images you can define via front matter. If you want to change the images used in the header have a look at [Style your Header](https://laterpay.github.io/connector-demo/headers/). ### Title Images ~~~ image: title: image.jpg ~~~ ### Thumbnails Thumbnails are used on archive pages like the [blog index][2]. They have a size of 150x150 pixels. Define them in front matter like this: ~~~ image: thumb: thumbnail_image.jpg ~~~ ### Homepage Image If you want to feature an article on the homepage with a huge image, than use the homepage image with a width of 970 pixels. If no homepage image is defined *Feeling Responsive* writes instead *New Blog Articles* over the blog entries. Define the homepage image like this: ~~~ image: homepage: header_homepage_13.jpg ~~~ ### Captions with URL Sometimes you want to give credit to the creator of your images, maybe with a link. Especially when you use Creative Commons-images like I do for this website. Just add the following front matter and *Feeling Responsive* does the rest: ~~~ image: title: header_image.jpg caption: Image by Phlow caption_url: "http://phlow.de/" ~~~ ### Define all images for an article ~~~ image: title: title_image.jpg thumb: thumbnail_image.jpg homepage: header_homepage_13.jpg caption: Image by Phlow caption_url: "http://phlow.de/" ~~~ [Up to table of contents](#toc) {: .text-right } ## Create a Table of Content {: .t60} With the Kramdown parser for Markdown you can render a table of contents for your documents. Just insert the following HTML in your post before the actual content. More information on [»Automatic ›Table of Contents‹ Generation«][1]. ### Bare Bones Version ### Table of Contents
* Auto generated table of contents
{:toc}<div class="panel radius" markdown="1">
**Table of Contents**
{: #toc }
* TOC
{:toc}
</div>breadcrumb: trueThis content is open source. Help improve it.