Documented author blurb

This commit is contained in:
Panos Sakkos 2016-03-24 22:42:05 +01:00
parent 8ca7537e75
commit db8276e7ed
2 changed files with 18 additions and 0 deletions

View file

@ -133,6 +133,7 @@ email: "your@email.here"
# The author blurb goes underneath blog posts. # The author blurb goes underneath blog posts.
# This works best when your author blurb image has a transparent background, or matches your site background color. # This works best when your author blurb image has a transparent background, or matches your site background color.
# if the author_blurb is not set, then this feature is skipped
author_blurb: "John Smith is an awesome person. He lives in Flatland, where he works on two-dimensional engineering projects. In his spare time, John likes to eat cotton candy." author_blurb: "John Smith is an awesome person. He lives in Flatland, where he works on two-dimensional engineering projects. In his spare time, John likes to eat cotton candy."
author_blurb_image: "/img/author.png" author_blurb_image: "/img/author.png"

View file

@ -82,3 +82,20 @@ int main()
### Emoji support ### Emoji support
You can add emojis to your posts by simply typing their [emoji code](http://www.emoji-cheat-sheet.com/) :wink: You can add emojis to your posts by simply typing their [emoji code](http://www.emoji-cheat-sheet.com/) :wink:
### Author Blurb
You can add a short description of yourself bellow your posts, by setting the next two variables in the site config
<pre><code data-trim class="yaml">
################
# Author Blurb #
################
# The author blurb goes underneath blog posts.
# This works best when your author blurb image has a transparent background, or matches your site background color.
# if the author_blurb is not set, then this feature is skipped
author_blurb: "John Smith is an awesome person. He lives in Flatland, where he works on two-dimensional engineering projects. In his spare time, John likes to eat cotton candy."
author_blurb_image: "/img/author.png"
</code></pre>