-
Notifications
You must be signed in to change notification settings - Fork 0
/
list.html
39 lines (33 loc) · 1.27 KB
/
list.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
layout: default
title: Blog (RU)
---
<div class="home">
<h1 class="page-heading">{{ page.title }}</h1>
<p>Разработка, конференции и немного квантовой физики</p>
<ul class="post-list">
{% for post in site.posts %}
<li>
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title | escape }}</a>
</h2>
<p>
{% for tag in post.tags %}
<span class="label label-default">{{ tag }}</span>
{% endfor %}
</p>
{% if post.image %}
{% assign custom_url = site.url | append: site.baseurl %}
{% assign full_base_url = custom_url | default: site.github.url %}
<p class="text-center">
<img src="{{ post.image | prepend: full_base_url }}" alt="{{ post.title | escape }}" aria-hidden="true">
</p>
{% endif %}
{{ post.excerpt }}
<a class="btn btn-default" href="{{ post.url | prepend: site.baseurl }}">Читать дальше</a></p>
</li>
{% endfor %}
</ul>
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>
</div>