-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpost.html
More file actions
60 lines (51 loc) · 2.64 KB
/
Copy pathpost.html
File metadata and controls
60 lines (51 loc) · 2.64 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{% extends 'base.html' %}
{% load staticfiles nginx_image %}
{% block title %} | {{ post.name }} {% endblock %}
{% block head %}
<meta property="og:url" content="">
{% if post.image %}
<meta property="og:image" content="{% thumbnail post.image %}" />
{% endif %}
<meta property="og:title" content="python.ru | {{ post.name }} " />
<meta property="og:description" content="{{ post.description }} " />
<meta property="og:type" content="article" />
{% endblock %}
{% block main_content %}
<section class="news-section" id="news">
<div class="container">
<div class="js-masonry" data-masonry-options='{"columnWidth": 2, "itemSelector": ".grid-item" }'>
<article class="grid-item large">
<div class="item-holder">
<div class="text-holder">
<div>
<time datetime="">{{ article_featured.published_at|date:"j E Y" }}</time>
<div class="share-buttons-bar" style="font-family: icomoon">
<a href="https://m.facebook.com/sharer.php?u=https://python.ru/post/{{ post.id }}"><span class="icon-facebook"></span></a>
<a href="https://twitter.com/intent/tweet?url=https://python.ru/post/{{ post.id }}&text=@moscowpython {{ post.name }}%20 &via=@moscowpython"><span class="icon-twitter"></span></a>
<a rel="nofollow" href="http://vkontakte.ru/share.php?url=https://python.ru/post/{{ post.id }}"><span class="icons-vk"></span></a>
<a rel="nofollow" href="https://t.me/share/url?url=https://python.ru/post/{{ post.id }}"><span class="icons-telegram"></span></a>
<a rel="nofollow" href=" http://www.linkedin.com/shareArticle?mini=true&url=https://python.ru/post/{{ post.id }}"><span class="icons-linkd"></span></a>
<a rel="nofollow" href="https://plus.google.com/share?url=https://python.ru/post/{{ post.id }}"><span class="icons-g-plus"></span></a>
</div>
<h1>{{ post.name }}</h1>
{% if post.url %}<time datetime="">{{ post.url }}</time>{% endif %}
{% if post.image %}
<img src="{% thumbnail post.image %}" width="792" height="529" alt="">
{% endif %}
<br/>
<br/>
<br/>
<article class="article">
{{ post.text|safe }}
</article>
</div>
</div>
</div>
</article>
{% include 'blocks/news_right_sidebar.html' %}
</div>
</div>
</section>
{% include 'blocks/subscribe.html' %}
{% include 'blocks/links.html' %}
{% endblock %}