From 7be24f172850dbdf0725c688f5c555e895630940 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Fri, 1 Apr 2016 16:12:37 -0400 Subject: [PATCH] Use GFM ``` code block --- _posts/2012-03-15-layout-author-override.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_posts/2012-03-15-layout-author-override.md b/_posts/2012-03-15-layout-author-override.md index 87adc48..31e8bcd 100644 --- a/_posts/2012-03-15-layout-author-override.md +++ b/_posts/2012-03-15-layout-author-override.md @@ -10,7 +10,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 %} +```yaml # /_data/authors.yml Billy Rick: @@ -27,10 +27,10 @@ Cornelius Fiddlebone: bio: "I ordered what?" avatar: bio-photo.jpg twitter: rhymeswithsackit -{% endhighlight %} +``` To assign Billy Rick as an author for our post. You'd add the following YAML front matter to a post: -{% highlight yaml %} +```yaml author: Billy Rick -{% endhighlight %} +``` -- 2.43.0