diff --git a/_config.yml b/_config.yml index 6ae6e0ba21c84..07974edb3fd31 100644 --- a/_config.yml +++ b/_config.yml @@ -1,17 +1,22 @@ # Site settings -title: Pixyll -email: your_email@example.com -author: John Otander +title: Pixyll +email: your_email@example.com +author: John Otander description: "A simple, beautiful theme for Jekyll that emphasizes content rather than aesthetic fluff." -baseurl: "" -url: "http://pixyll.com" +baseurl: "" +url: "http://pixyll.com" + +# Google analytics google_analytics: -animated: false + +# Optional features +animated: false show_related_posts: false +show_post_footers: false # Build settings -markdown: kramdown -permalink: pretty -paginate: 3 +markdown: kramdown +permalink: pretty +paginate: 3 sass: compressed: true diff --git a/_includes/post_footer.html b/_includes/post_footer.html new file mode 100644 index 0000000000000..9fdb646efbf67 --- /dev/null +++ b/_includes/post_footer.html @@ -0,0 +1,10 @@ +
+ John Otander +

+ Pixyll is an open-source Jekyll theme that's built by John Otander. + When he's not writing code and building things, he likes to ski. A. Lot. +

+

+ Follow him on Twitter. +

+
diff --git a/_layouts/post.html b/_layouts/post.html index c6c489e55b475..59d6db7804e83 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -20,6 +20,10 @@

{{ page.title }}

{{ content }} +{% if site.show_post_footers %} + {% include post_footer.html %} +{% endif %} + {% if site.show_related_posts %}

Related Posts

{% for post in site.related_posts %} diff --git a/_sass/_main.scss b/_sass/_main.scss index 6ba555563831f..447f8edc7d7f8 100644 --- a/_sass/_main.scss +++ b/_sass/_main.scss @@ -114,6 +114,19 @@ body { color: #333; } +.post-footer { + @extend .italic; + + margin-top: .75rem; + text-align: center; +} + +.post-footer .avatar { + margin: 2rem 0; + width: 100px; + border-radius: 50%; +} + .pagination, .button { font-size: 1rem; diff --git a/images/me.jpeg b/images/me.jpeg new file mode 100644 index 0000000000000..92752627a0198 Binary files /dev/null and b/images/me.jpeg differ