mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-12-22 16:46:02 +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.
|
||||
|
||||
``` yaml
|
||||
{% highlight yaml %}
|
||||
author:
|
||||
name: Billy Rick
|
||||
avatar: billy-photo.jpg #place in /images
|
||||
twitter: billyrick #marked as a creator for Twitter Card links
|
||||
```
|
||||
{% endhighlight %}
|
||||
|
|
Loading…
Reference in a new issue