Use GFM ``` code block
This commit is contained in:
parent
287e73d9e6
commit
7be24f1728
1 changed files with 4 additions and 4 deletions
|
@ -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.
|
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
|
# /_data/authors.yml
|
||||||
|
|
||||||
Billy Rick:
|
Billy Rick:
|
||||||
|
@ -27,10 +27,10 @@ Cornelius Fiddlebone:
|
||||||
bio: "I ordered what?"
|
bio: "I ordered what?"
|
||||||
avatar: bio-photo.jpg
|
avatar: bio-photo.jpg
|
||||||
twitter: rhymeswithsackit
|
twitter: rhymeswithsackit
|
||||||
{% endhighlight %}
|
```
|
||||||
|
|
||||||
To assign Billy Rick as an author for our post. You'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 %}
|
```yaml
|
||||||
author: Billy Rick
|
author: Billy Rick
|
||||||
{% endhighlight %}
|
```
|
||||||
|
|
Loading…
Reference in a new issue