mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-21 17:47:10 +00:00
Fix syntax highlighting in post
This commit is contained in:
parent
3ebe915e2d
commit
a60fd268f4
1 changed files with 2 additions and 2 deletions
|
@ -17,9 +17,9 @@ Traditionally you would assign a global author for the entire site and those att
|
||||||
|
|
||||||
Let's say we have an author Billy Rick --- he wrote this post and we want his name and photo to appear on the page instead of whoever the default site author is. To do so we'd add the following YAML front matter.
|
Let's say we have an author Billy Rick --- he wrote this post and we want his name and photo to appear on the page instead of whoever the default site author is. To do so we'd add the following YAML front matter.
|
||||||
|
|
||||||
``` yaml
|
{% highlight yaml %}
|
||||||
author:
|
author:
|
||||||
name: Billy Rick
|
name: Billy Rick
|
||||||
avatar: billy-photo.jpg #place in /images
|
avatar: billy-photo.jpg #place in /images
|
||||||
twitter: billyrick #marked as a creator for Twitter Card links
|
twitter: billyrick #marked as a creator for Twitter Card links
|
||||||
```
|
{% endhighlight %}
|
||||||
|
|
Loading…
Reference in a new issue