forked from rust-lang-ru/rustycrate.ru
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
31 lines (31 loc) · 1.43 KB
/
index.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
---
layout: default
title: Лента
---
<div class="page-header">
<h1>Ржавый ящик <br/><small>Русскоязычный сайт о языке программирования Rust</small></h1>
</div>
{% for post in site.posts %}
<div class="well">
<article>
<header>
<h1><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h1>
<p class="post-header">{% if post.author %}{{ post.author }} • {% endif %}{% if post.date %}<time>{{ post.date | localize: "%d %B %Y" }}</time>{% endif %}{% if post.categories %} • {{ post.categories | join: ','}}{% endif %}</p>
</header>
<div>
{{ post.excerpt }}
</div>
<footer>
<div id="buttons">
<a href="{{ post.url | prepend: site.baseurl }}" class="btn btn-default" id="read-more">читать дальше</a>
<a class="btn btn-default" href="{{ post.url | prepend: site.baseurl }}#comments">
<span class="disqus-comment-count" data-disqus-url="{{ site.url }}{{ post.url | prepend: site.baseurl }}#disqus_thread"></span>
<img src="/images/comments.svg" alt="комментарии" class="comments-icon">
</a>
</div>
<div id="placeholder"></div>
</footer>
</article>
</div>
{% endfor %}
<script id="dsq-count-scr" src="//rustycrate.disqus.com/count.js" async></script>