Skip to content

Commit

Permalink
[INFRA-1359] - write some text for blank bios, use _plank for social …
Browse files Browse the repository at this point in the history
…media links
  • Loading branch information
oleg-nenashev committed Oct 22, 2017
1 parent b98d108 commit fc388dc
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions content/_partials/author.html.haml
Expand Up @@ -15,18 +15,22 @@
%td
= display_author_for(page)
%br
= author.content
- if author.content.empty?
This author has no biography defined.
See social media links referenced below.
- else
= author.content
%ul.author.social-media-buttons
- if author.github
%li.author
%a{:href => "https://github.com/#{author.github}"}
%a{:href => "https://github.com/#{author.github}", :target => "_blank"}
GitHub
- if author.twitter
%li.author
%a{:href => "https://twitter.com/#{author.twitter}"}
%a{:href => "https://twitter.com/#{author.twitter}", :target => "_blank"}
Twitter
- if author.blog
%li.author
%a{:href => "#{author.blog}"}
%a{:href => "#{author.blog}", :target => "_blank"}
Blog

0 comments on commit fc388dc

Please sign in to comment.