dash-website/_includes/author.html
Perry Woodin ad056aa1cb Fix/html (#13)
* Remove style-guide from i18n builds

* Remove uncategorized from CN blog posts.

* Team images and alt attributes.

* Fixing language linkage

* Ignore missing or empty alt tags

* ignore sass-cache

* fix gitignore for sass-cache

* fix gitignore for sass-cache

* Only show language dropdown if the page is not a post (blog)

* New url with site.lang included.

* Removed the site.baseurl var from the posts.
2016-09-12 15:25:54 -04:00

23 lines
No EOL
505 B
HTML

{% if page.author %}
<div class="author">
{% assign author = site.data.people[page.author] %}
{% if author.image %}
<img src="{{ author.image }}" class="author-icon img-circle"><br />
{% endif %}
{% if author.twitter %}
<a rel="author"
href="https://twitter.com/{{ author.twitter }}"
title="{{ author.name }}"
target="_blank">
{% else %}
<a rel="author"
href="#"
title="{{ author.name }}"
target="_blank">
{% endif %}
{{ author.name }}
</a>
</div>
{% endif %}