Edit sample posts

This commit is contained in:
Michael Rose 2016-02-24 16:12:21 -05:00
parent 813c8c8ca6
commit 446a085e66
13 changed files with 108 additions and 71 deletions

View file

@ -7,5 +7,10 @@ tags:
- link
- Post Formats
format: link
link: https://github.com
---
[The WordPress Theme Review Team Website](http://make.wordpress.org/themes "The WordPress Theme Review Team Website")
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.
Some [link](#) can also be shown.

View file

@ -1,6 +1,7 @@
---
title: "Post Format: Standard"
date: 2010-10-05T00:27:25+00:00
excerpt_separator: "<!--more-->"
categories:
- Post Formats
tags:
@ -10,9 +11,15 @@ tags:
---
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.
<!--more-->
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.
This post has a manual excerpt `<!--more-->` set after the second paragraph. The following YAML Front Matter has also be applied:
```yaml
excerpt_separator: "<!--more-->"
```
If you could keep awake (but of course you can't) you would see your own mother doing this, and you would find it very interesting to watch her. It is quite like tidying up drawers. You would see her on her knees, I expect, lingering humorously over some of your contents, wondering where on earth you had picked this thing up, making discoveries sweet and not so sweet, pressing this to her cheek as if it were as nice as a kitten, and hurriedly stowing that out of sight. When you wake in the morning, the naughtiness and evil passions with which you went to bed have been folded up small and placed at the bottom of your mind and on the top, beautifully aired, are spread out your prettier thoughts, ready for you to put on.

View file

@ -1,13 +1,7 @@
---
title: Sample Post
excerpt: "Just about everything you'll need to style in the theme: headings, paragraphs, blockquotes, tables, code blocks, and more."
modified: 2013-05-31
tags: [intro, beginner, jekyll, tutorial]
comments: false
image:
feature: sample-image-5.jpg
credit: WeGraphics
creditlink: http://wegraphics.net/downloads/free-ultimate-blurred-background-pack/
title: "Template: Post With Table Of Contents"
tags:
- table of contents
---
<section id="table-of-contents" class="toc">

View file

@ -1,6 +1,7 @@
---
title: "Template: Excerpt (Generated)"
date: 2012-03-14T09:49:22+00:00
excerpt_separator: "<!--more-->"
categories:
- Template
- Uncategorized

View file

@ -11,3 +11,5 @@ tags:
- 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

@ -1,7 +1,9 @@
---
title: "Post with Large Feature Image and Text"
excerpt: "Custom written post descriptions are the way to go... if you're not lazy."
tags: [sample post, readability, test]
title: "Template: Featured Image And Text Readability"
tags:
- sample post
- readability
- test
image:
feature: sample-image-4.jpg
credit: WeGraphics
@ -16,10 +18,10 @@ Vero laborum commodo occupy. Semiotics voluptate mumblecore pug. Cosby sweater u
In pug Portland incididunt mlkshk put a bird on it vinyl quinoa. **[Terry Richardson](#) shabby chic +1**, scenester Tonx excepteur tempor fugiat voluptate fingerstache aliquip nisi next level. Farm-to-table hashtag Truffaut, Odd Future ex meggings gentrify single-origin coffee try-hard 90's.
* Sartorial hoodie
* Labore viral forage
* Tote bag selvage
* DIY exercitation et id ugh tumblr church-key
* Sartorial hoodie
* Labore viral forage
* Tote bag selvage
* DIY exercitation et id ugh tumblr church-key
Incididunt umami sriracha, ethical fugiat VHS ex assumenda yr irure direct trade. Marfa Truffaut bicycle rights, kitsch placeat Etsy kogi asymmetrical. Beard locavore flexitarian, kitsch photo booth hoodie plaid ethical readymade leggings yr.

View file

@ -1,9 +1,11 @@
---
title: "Testing Readability with a Bunch of Text"
excerpt: "A ton of text to test readability."
tags: [sample post, readability, test]
title: "Markup: Text Readability Test"
excerpt: "A bunch of text to test readability."
tags:
- sample post
- 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.
@ -12,10 +14,10 @@ Vero laborum commodo occupy. Semiotics voluptate mumblecore pug. Cosby sweater u
In pug Portland incididunt mlkshk put a bird on it vinyl quinoa. Terry Richardson shabby chic +1, scenester Tonx excepteur tempor fugiat voluptate fingerstache aliquip nisi next level. Farm-to-table hashtag Truffaut, Odd Future ex meggings gentrify single-origin coffee try-hard 90's.
* Sartorial hoodie
* Labore viral forage
* Tote bag selvage
* DIY exercitation et id ugh tumblr church-key
* Sartorial hoodie
* Labore viral forage
* Tote bag selvage
* DIY exercitation et id ugh tumblr church-key
Incididunt umami sriracha, ethical fugiat VHS ex assumenda yr irure direct trade. Marfa Truffaut bicycle rights, kitsch placeat Etsy kogi asymmetrical. Beard locavore flexitarian, kitsch photo booth hoodie plaid ethical readymade leggings yr.

View file

@ -45,6 +45,16 @@ Multi line blockquote with a cite reference:
| [Fred Bloggs](#) | $100M | Pictures are worth a thousand words, right? So Jane × 1,000. |
| [Jane Bloggs](#) | $100B | With hair like that?! Enough said. |
| Header1 | Header2 | Header3 |
|:--------|:-------:|--------:|
| cell1 | cell2 | cell3 |
| cell4 | cell5 | cell6 |
|----
| cell1 | cell2 | cell3 |
| cell4 | cell5 | cell6 |
|=====
| Foot1 | Foot2 | Foot3
## Definition Lists
Definition List Title
@ -89,49 +99,76 @@ Do It Live
3. List item three
4. List item four
## Buttons
Make any link standout more when applying the `.btn` class.
```html
<a href="#" class="btn btn-success">Success Button</a>
```
[Primary Button](#){: .btn}
[Success Button](#){: .btn .btn-success}
[Warning Button](#){: .btn .btn-warning}
[Danger Button](#){: .btn .btn-danger}
[Info Button](#){: .btn .btn-info}
```markdown
[Primary Button Text](#link){: .btn}
[Success Button Text](#link){: .btn .btn-success}
[Warning Button Text](#link){: .btn .btn-warning}
[Danger Button Text](#link){: .btn .btn-danger}
[Info Button Text](#link){: .btn .btn-info}
```
## Notices
**Watch out!** You can also add notices by appending `{: .notice}` to a paragraph.
{: .notice}
## HTML Tags
**Address Tag**
### Address Tag
<address>
1 Infinite Loop<br /> Cupertino, CA 95014<br /> United States
</address>
**Anchor Tag (aka. Link)**
### Anchor Tag (aka. Link)
This is an example of a [link](http://apple.com "Apple").
**Abbreviation Tag**
### Abbreviation Tag
The abbreviation CSS stands for "Cascading Style Sheets".
*[CSS]: Cascading Style Sheets
**Cite Tag**
### Cite Tag
"Code is poetry." ---<cite>Automattic</cite>
**Code Tag**
### Code Tag
You will learn later on in these tests that `word-wrap: break-word;` will be your best friend.
**Strike Tag**
### Strike Tag
This tag will let you <strike>strikeout text</strike>.
**Emphasize Tag**
### Emphasize Tag
The emphasize tag should _italicize_ text.
**Insert Tag**
### Insert Tag
This tag should denote <ins>inserted</ins> text.
**Keyboard Tag**
### Keyboard Tag
This scarcely known tag emulates <kbd>keyboard text</kbd>, which is usually styled like the `<code>` tag.
**Preformatted Tag**
### Preformatted Tag
This tag styles large blocks of code.
@ -145,22 +182,22 @@ This tag styles large blocks of code.
}
</pre>
**Quote Tag**
### Quote Tag
<q>Developers, developers, developers&#8230;</q> &#8211;Steve Ballmer
**Strong Tag**
### Strong Tag
This tag shows **bold text**.
**Subscript Tag**
### Subscript Tag
Getting our science styling on with H<sub>2</sub>O, which should push the "2" down.
**Superscript Tag**
### Superscript Tag
Still sticking with science and Isaac Newton's E = MC<sup>2</sup>, which should lift the 2 up.
**Variable Tag**
### Variable Tag
This allows you to denote <var>variables</var>.

View file

@ -1,7 +1,10 @@
---
title: "A Post with Images"
title: "Markup: Another Post With Images"
excerpt: "Examples and code for displaying images in posts."
tags: [sample post, images, test]
tags:
- sample post
- images
- test
---
Here are some examples of what a post with images might look like. If you want to display two or three images next to each other responsively use `figure` with the appropriate `class`. Each instance of `figure` is auto-numbered and displayed in the caption.
@ -21,13 +24,13 @@ Vero laborum commodo occupy. Semiotics voluptate mumblecore pug. Cosby sweater u
Apply the `half` class like so to display two images side by side that share the same caption.
{% highlight html %}
```html
<figure class="half">
<a href="/images/image-filename-1-large.jpg"><img src="/images/image-filename-1.jpg"></a>
<a href="/images/image-filename-2-large.jpg"><img src="/images/image-filename-2.jpg"></a>
<figcaption>Caption describing these two images.</figcaption>
</figure>
{% endhighlight %}
```
And you'll get something that looks like this:
@ -41,14 +44,14 @@ And you'll get something that looks like this:
Apply the `third` class like so to display three images side by side that share the same caption.
{% highlight html %}
```html
<figure class="third">
<img src="/images/image-filename-1.jpg">
<img src="/images/image-filename-2.jpg">
<img src="/images/image-filename-3.jpg">
<figcaption>Caption describing these three images.</figcaption>
</figure>
{% endhighlight %}
```
And you'll get something that looks like this:

View file

@ -1,12 +0,0 @@
---
title: "Sample Link Post"
excerpt: "Example and code for using link posts."
tags: [sample post, link post]
link: http://mademistakes.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.
Some [link](http://www.mademistakes.com) can also be shown.

View file

@ -1,7 +1,9 @@
---
title: Syntax Highlighting Post
excerpt: "Demo post displaying the various ways of highlighting code in Markdown."
tags: [sample post, code, highlighting]
title: "Markup: Syntax Highlighting"
excerpt: "Post displaying the various ways of highlighting code in Markdown."
tags:
- code
- syntax highlighting
modified: 2016-02-23T12:08:33-05:00
---

View file

@ -1,9 +1,7 @@
---
title: "Author Override"
title: "Template: Author Override"
author: billy_rick
modified:
excerpt: "A post to test author overrides using a data file."
tags: []
---
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.
@ -13,7 +11,7 @@ Previously the theme used a global author for the entire site and those attribut
Start by modifying or creating a new `authors.yml` file in the `_data` folder and add your authors using the following format.
{% highlight yaml %}
# Authors
# /_data/authors.yml
billy_rick:
name: Billy Rick
@ -22,8 +20,6 @@ billy_rick:
bio: "What do you want, jewels? I am a very extravagant man."
avatar: bio-photo-2.jpg
twitter: extravagantman
google:
plus: BillyRick
cornelius_fiddlebone:
name: Cornelius Fiddlebone
@ -31,8 +27,6 @@ cornelius_fiddlebone:
bio: "I ordered what?"
avatar: bio-photo.jpg
twitter: rhymeswithsackit
google:
plus: CorneliusFiddlebone
{% endhighlight %}
To assign Billy Rick as an author for our post. You'd add the following YAML front matter to a post: