Fix typos and grammar

This commit is contained in:
Michael Rose
2014-08-08 15:45:24 -04:00
parent dc5a28f1c3
commit f0d24a56d6
4 changed files with 63 additions and 20 deletions

View File

@ -7,11 +7,11 @@ 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 assign different authors to each post if desired.
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.
Traditionally you would assign a global author for the entire site and those attributes would be used in all post bylines, social networking links in the footer, Twitter Cards, and Google Authorship. These `owner` variables defined in your `config.yml`
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`
Start by creating an `authors.yml` file in the `_data` folder and add your authors using the following format.
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
@ -21,8 +21,10 @@ billy_rick:
web: http://thewhip.com
email: billy@rick.com
bio: "What do you want, jewels? I am a very extravagant man."
avatar: bio-photo.jpg
avatar: bio-photo-2.jpg
twitter: extravagantman
google:
plus: +BillyRick
cornelius_fiddlebone:
name: Cornelius Fiddlebone
@ -30,9 +32,11 @@ 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. We'd add the following YAML front matter to a post:
To assign Billy Rick as an author for our post. You'd add the following YAML front matter to a post:
{% highlight yaml %}
author: billy_rick