Files
jekyll/docs/_includes/news_item.html
Ashwin Maroli 68066ce268 Optimize rendering of the documentation site (#8020)
Merge pull request 8020
2020-02-24 18:44:11 -05:00

26 lines
589 B
HTML

<article>
<h2>
<a href="{{ post.url }}">
{{- post.title -}}
</a>
</h2>
<span class="post-category">
<span class="label">
{{- post.categories | array_to_sentence_string -}}
</span>
</span>
<div class="post-meta">
<span class="post-date">
{{- post.date | date_to_string -}}
</span>
{% assign author = post.author -%}
<a href="https://github.com/{{ author }}" class="post-author">
{% avatar user=author size=24 -%}
{{ author }}
</a>
</div>
<div class="post-content">
{{- post.content -}}
</div>
</article>