|
a |
|
b/docs/_layouts/news_item.html |
|
|
1 |
--- |
|
|
2 |
layout: news |
|
|
3 |
--- |
|
|
4 |
|
|
|
5 |
<article> |
|
|
6 |
<h2> |
|
|
7 |
{{ page.title }} |
|
|
8 |
<a href="{{ page.url }}" class="header-link" title="Permalink"> |
|
|
9 |
<span class="sr-only">Permalink</span> |
|
|
10 |
<i class="fa fa-link"></i> |
|
|
11 |
</a> |
|
|
12 |
</h2> |
|
|
13 |
<span class="post-category"> |
|
|
14 |
<span class="label"> |
|
|
15 |
{{ page.categories | array_to_sentence_string }} |
|
|
16 |
</span> |
|
|
17 |
</span> |
|
|
18 |
<div class="post-meta"> |
|
|
19 |
<span class="post-date"> |
|
|
20 |
{{ page.date | date_to_string }} |
|
|
21 |
</span> |
|
|
22 |
{% assign author = page.author %} |
|
|
23 |
<a href="https://github.com/{{ author }}" class="post-author"> |
|
|
24 |
{% avatar user=author size=24 %} |
|
|
25 |
{{ author }} |
|
|
26 |
</a> |
|
|
27 |
</div> |
|
|
28 |
<div class="post-content"> |
|
|
29 |
{{ content }} |
|
|
30 |
</div> |
|
|
31 |
</article> |