forked from Polymer/old-docs-site
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathauthorship.html
More file actions
20 lines (16 loc) · 913 Bytes
/
authorship.html
File metadata and controls
20 lines (16 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{% assign author = site.data.authors[page.article.author] %}
{% assign article = page.article %}
{% assign pubdate = article.published | date: "%Y-%m-%d" %}
{% assign updated = article.updated | date: "%Y-%m-%d" %}
{% if article.polymer_version %}
<span class="forversion">Written for v{{article.polymer_version}}</span>
{% endif %}
{::options parse_block_html="true" /}
<aside class="author">
<a href="https://plus.google.com/{{author.gplus}}" target="blank_"></a>
By <a href="https://plus.google.com/{{author.gplus}}" target="blank_">{{author.full_name}}</a><br>
Published <time pubdate datetime="{{pubdate}}">{{article.published | date: "%B %d, %Y"}}</time>
{% if article.updated %}
(updated <time datetime="{{updated}}">{{article.updated | date: "%B %d, %Y"}}</time>)
{% endif %}
</aside>