Add space after YAML Front Matter

This commit is contained in:
Michael Rose
2016-03-07 09:51:50 -05:00
parent f4cc49ffca
commit 0ccaef5a96
67 changed files with 67 additions and 0 deletions

View File

@ -9,6 +9,7 @@ tags:
- lists
- markup
---
Nested and mixed lists are an interesting beast. It's a corner case to make sure that
* Lists within lists do not break the ordered list numbering order

View File

@ -45,4 +45,5 @@ tags:
- video
- YouTube
---
This post has many tags.

View File

@ -19,4 +19,5 @@ tags:
- categories
- edge case
---
This post has many categories.

View File

@ -6,4 +6,5 @@ tags:
- layout
- title
---
This post has no title specified in the YAML Front Matter. Jekyll should auto-generate a title from the filename.

View File

@ -10,6 +10,7 @@ tags:
- layout
- title
---
## Title should not overflow the content area
A few things to check for:

View File

@ -10,4 +10,5 @@ tags:
- layout
- title
---
Check for long titles and how they might break a template.

View File

@ -8,6 +8,7 @@ tags:
- readability
- standard
---
All children, except one, grow up. They soon know that they will grow up, and the way Wendy knew was this. One day when she was two years old she was playing in a garden, and she plucked another flower and ran with it to her mother. I suppose she must have looked rather delightful, for Mrs. Darling put her hand to her heart and cried, "Oh, why can't you remain like this for ever!" This was all that passed between them on the subject, but henceforth Wendy knew that she must grow up. You always know after you are two. Two is the beginning of the end.
Mrs. Darling first heard of Peter when she was tidying up her children's minds. It is the nightly custom of every good mother after her children are asleep to rummage in their minds and put things straight for next morning, repacking into their proper places the many articles that have wandered during the day.

View File

@ -6,6 +6,7 @@ tags:
- chat
- Post Formats
---
Abbott: Strange as it may seem, they give ball players nowadays very peculiar names.
Costello: Funny names?

View File

@ -6,6 +6,7 @@ tags:
- Post Formats
- notice
---
A notice displays information that explains nearby content. Often used to call attention to a particular detail.
When using Kramdown `{: .notice}` can be added after a sentence to assign the `.notice` to the `<p></p>` element.

View File

@ -6,6 +6,7 @@ tags:
- Post Formats
- quote
---
> Only one thing is impossible for God: To find any sense in any copyright law on the planet.
> <cite><a href="http://www.brainyquote.com/quotes/quotes/m/marktwain163473.html">Mark Twain</a></cite>

View File

@ -7,6 +7,7 @@ tags:
- Post Formats
link: https://github.com
---
This theme supports **link posts**, made famous by John Gruber. To use, just add `link: http://url-you-want-linked` to the post's YAML front matter and you're done.
> And this is how a quote looks.

View File

@ -5,6 +5,7 @@ categories:
tags:
- Post Formats
---
YouTube video embed below.
<iframe width="640" height="360" src="https://www.youtube-nocookie.com/embed/l2Of1-d5E5o?controls=0&amp;showinfo=0" frameborder="0" allowfullscreen></iframe>

View File

@ -6,4 +6,5 @@ tags:
- image
- Post Formats
---
[![foo]({{http://wpthemetestdata.files.wordpress.com/2008/06/100_5540.jpg?w=604}})](http://wpthemetestdata.files.wordpress.com/2008/06/100_5540.jpg)

View File

@ -6,6 +6,7 @@ tags:
- image
- Post Formats
---
The preferred way of using images is placing them in the `/images/` directory and referencing them with an absolute path. Prepending the filename with `{% raw %}{{ site.url }}{{ site.baseurl }}/images/{% endraw %}` well make sure your images display properly in feeds and such.
![Unsplash image 9]({{ site.url }}{{ site.baseurl }}/images/unsplash-image-9.jpg)

View File

@ -6,6 +6,7 @@ tags:
- image
- Post Formats
---
{% capture fig_img %}
[![Foo](http://wpthemetestdata.files.wordpress.com/2012/06/dsc20040724_152504_532.jpg)](http://wpthemetestdata.files.wordpress.com/2012/06/dsc20040724_152504_532.jpg)
{% endcapture %}

View File

@ -7,6 +7,7 @@ tags:
- Post Formats
- shortcode
---
{% capture fig_img %}
![Foo](http://wpthemetestdata.files.wordpress.com/2008/06/100_5478.jpg?w=604)
{% endcapture %}

View File

@ -32,6 +32,7 @@ gallery3:
- image_path: unsplash-gallery-image-4-th.jpg
alt: "placeholder image 4"
---
These are gallery tests for image wrapped in `<figure>` elements.
To place a gallery add the necessary YAML Front Matter:

View File

@ -8,6 +8,7 @@ tags:
- media
- twitter
---
<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">🎨 Finally got around to adding all my <a href="https://twitter.com/procreateapp">@procreateapp</a> creations with time lapse videos <a href="https://t.co/1nNbkefC3L">https://t.co/1nNbkefC3L</a> <a href="https://t.co/gcNLJoJ0Gn">pic.twitter.com/gcNLJoJ0Gn</a></p>&mdash; Michael Rose (@mmistakes) <a href="https://twitter.com/mmistakes/status/662678050795094016">November 6, 2015</a></blockquote>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

View File

@ -4,4 +4,5 @@ date: 9999-12-31
categories:
- Post
---
This post lives in the future and is dated {{ page.date | date: "%c" }}. When building Jekyll with the `--future` flag it should appear.

View File

@ -8,6 +8,7 @@ tags:
- comments
- template
---
This post has its comments disabled.
There should be no comment form.

View File

@ -8,4 +8,5 @@ tags:
- comments
- template
---
This post should display comments.

View File

@ -8,6 +8,7 @@ tags:
- related posts
- template
---
This post has related posts disabled.
Related post links should not appear.

View File

@ -8,4 +8,5 @@ tags:
- related posts
- template
---
This post has related posts enabled.

View File

@ -8,6 +8,7 @@ tags:
- social
- template
---
This post has social sharing disabled.
Social sharing links should not appear.

View File

@ -8,4 +8,5 @@ tags:
- social
- template
---
This post should display social sharing links.

View File

@ -12,6 +12,7 @@ tags:
- comments
- template
---
This post has comments, social sharing links, and related posts disabled.
Comments, social sharing and related post links should not appear.

View File

@ -3,6 +3,7 @@ title: "Template: Post with Table Of Contents"
tags:
- table of contents
---
<section id="table-of-contents" class="toc">
<header>
<h3>Overview</h3>

View File

@ -6,6 +6,7 @@ tags:
- sticky
- template
---
This is a sticky post.
There are a few things to verify:

View File

@ -8,6 +8,7 @@ tags:
- excerpt
- template
---
This is the post content with inline code, (e.g. `<span style="color: red;">red</span>`. It should be displayed in place of the auto-generated excerpt in single-page views. Archive-index pages should display an auto-generated excerpt of this content.
Be sure to test the formatting of the auto-generated excerpt, to ensure that it doesn't create any layout problems.

View File

@ -9,6 +9,7 @@ tags:
- excerpt
- template
---
This is the post content. It should be displayed in place of the user-defined excerpt in archive-index pages.
This paragraph should be absent from an archive-index page where `post.excerpt` is shown.

View File

@ -9,6 +9,7 @@ tags:
- excerpt
- template
---
This is the post content. It should be displayed in place of the auto-generated excerpt in single-page views. Archive-index pages should display an auto-generated excerpt of this content.
<!--more-->

View File

@ -3,6 +3,7 @@ title: "Template: Author Override"
author: Billy Rick
excerpt: "A post to test author overrides using a data file."
---
For those of you who may have content written by multiple authors on your site you can now assign different authors to each post if desired.
Previously the theme used a global author for the entire site and those attributes would be used in all bylines, social networking links, Twitter Card attribution, and Google Authorship. These `owner` variables were defined in `config.yml`

View File

@ -11,6 +11,7 @@ tags:
- image
- template
---
This post should display a **featured image**, if the theme supports it.
Featured image is an external asset and should load.

View File

@ -12,6 +12,7 @@ tags:
- image
- template
---
This post should display a **featured image**, if the theme supports it.
Non-square images can provide some unique styling issues.

View File

@ -8,6 +8,7 @@ tags:
- readability
- test
---
This is a sample post with a large feature image[^1] up top and tons of text. Odio ad blue bottle vinyl, 90's narwhal commodo bitters pour-over nostrud. Ugh est hashtag in, fingerstache adipisicing laboris esse Pinterest shabby chic Portland. Shoreditch bicycle rights anim, flexitarian laboris put a bird on it vinyl cupidatat narwhal. Hashtag artisan skateboard, flannel Bushwick nesciunt salvia aute fixie do plaid post-ironic dolor McSweeney's. Cliche pour-over chambray nulla four loko skateboard sapiente hashtag.
Vero laborum commodo occupy. Semiotics voluptate mumblecore pug. Cosby sweater ullamco quinoa ennui assumenda, sapiente occupy delectus lo-fi. *Ea fashion axe [Marfa cillum aliquip](#). Retro Bushwick keytar cliche.* Before they sold out sustainable gastropub Marfa readymade, ethical Williamsburg skateboard brunch qui consectetur gentrify semiotics. Mustache cillum irony, fingerstache magna pour-over keffiyeh tousled selfies.

View File

@ -13,6 +13,7 @@ tags:
- image
- template
---
This post should display a **featured image**, if the theme supports it.
Non-square images can provide some unique styling issues.

View File

@ -8,6 +8,7 @@ tags:
- read more
- template
---
This content is before the [excerpt separator tag](http://jekyllrb.com/docs/posts/#post-excerpts).
Right after this sentence there should be a **continue reading** link of some sort in archive-index pages.

View File

@ -6,6 +6,7 @@ tags:
- readability
- test
---
Portland in shoreditch Vice, labore typewriter pariatur hoodie fap sartorial Austin. Pinterest literally occupy Schlitz forage. Odio ad blue bottle vinyl, 90's narwhal commodo bitters pour-over nostrud. Ugh est hashtag in, fingerstache adipisicing laboris esse Pinterest shabby chic Portland. Shoreditch bicycle rights anim, flexitarian laboris put a bird on it vinyl cupidatat narwhal. Hashtag artisan skateboard, flannel Bushwick nesciunt salvia aute fixie do plaid post-ironic dolor McSweeney's. Cliche pour-over chambray nulla four loko skateboard sapiente hashtag.
Vero laborum commodo occupy. Semiotics voluptate mumblecore pug. Cosby sweater ullamco quinoa ennui assumenda, sapiente occupy delectus lo-fi. Ea fashion axe Marfa cillum aliquip. Retro Bushwick keytar cliche. Before they sold out sustainable gastropub Marfa readymade, ethical Williamsburg skateboard brunch qui consectetur gentrify semiotics. Mustache cillum irony, fingerstache magna pour-over keffiyeh tousled selfies.

View File

@ -7,6 +7,7 @@ tags:
- html
- title
---
Verify that:
* The post title renders the word "with" in *italics* and the word "Markdown" in **bold**.

View File

@ -8,6 +8,7 @@ tags:
- post
- title
---
Putting special characters in the title should have no adverse effect on the layout or functionality.
Special characters in the post title have been known to cause issues with JavaScript and XML when not properly encoded and escaped.

View File

@ -8,6 +8,7 @@ tags:
- css
- markup
---
### Default
This is a paragraph. It should not have any alignment of any kind. It should just flow like you would normally expect. Nothing fancy. Just straight up text, free flowing, with love. Completely neutral and not picking a side or sitting on the fence. It just is. It just freaking is. It likes where it is. It does not feel compelled to pick a side. Leave him be. It will just be better that way. Trust me.

View File

@ -10,6 +10,7 @@ tags:
- image
- markup
---
Welcome to image alignment! The best way to demonstrate the ebb and flow of the various image positioning options is to nestle them snuggly among an ocean of words. Grab a paddle and let's get started.
![image-center](http://wpthemetestdata.files.wordpress.com/2013/03/image-alignment-580x300.jpg){: .align-center}

View File

@ -9,6 +9,7 @@ tags:
- html
- markup
---
## Headings
# Header one

View File

@ -5,6 +5,7 @@ categories:
tags:
- update
---
You'll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.