Skip to content

Commit 4be5f5d

Browse files
author
a.shtyrnyaev
committed
update!
1 parent 0af7991 commit 4be5f5d

File tree

4 files changed

+24
-9
lines changed

4 files changed

+24
-9
lines changed

assets/css/all.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -427,11 +427,11 @@ th {
427427

428428
@font-face {
429429
font-family: 'icomoon';
430-
src: url('../fonts/icomoon.eot?7tgs5z');
431-
src: url('../fonts/icomoon.eot?7tgs5z#iefix') format('embedded-opentype'),
432-
url('../fonts/icomoon.ttf?7tgs5z') format('truetype'),
433-
url('../fonts/icomoon.woff?7tgs5z') format('woff'),
434-
url('../fonts/icomoon.svg?7tgs5z#icomoon') format('svg');
430+
src: url('../fonts/icomoon.eot');
431+
src: url('../fonts/icomoon.eot') format('embedded-opentype'),
432+
url('../fonts/IcoMoon-Free.ttf') format('truetype'),
433+
url('../fonts/icomoon.woff') format('woff'),
434+
url('../fonts/icomoon.svg') format('svg');
435435
font-weight: normal;
436436
font-style: normal;
437437
}

assets/fonts/IcoMoon-Free.ttf

127 KB
Binary file not shown.

templates/base.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@
1717
<link rel="manifest" href="{% static "favicons/manifest.json" %}">
1818
<link rel="mask-icon" href="{% static "favicons/safari-pinned-tab.svg" %}" color="#5bbad5">
1919
<meta name="theme-color" content="#ffffff">
20+
21+
<meta property="og:url" content="">
22+
<meta property="og:image" content="}" />
23+
<meta property="og:title" content="python.ru" />
24+
<meta property="og:description" content="python.ru русскоязычное сообщество языка python" />
25+
<meta property="og:type" content="website" />
26+
<meta property="og:site_name" content="Хабр">
27+
2028
</head>
2129
<body>
2230
<div id="wrapper">

templates/post.html

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
{% block title %} | {{ post.name }} {% endblock %}
33
{% block head %}
44

5+
<meta property="og:url" content="">
6+
{% if post.image %}
7+
<meta property="og:image" content="{% thumbnail post.image %}" />
8+
{% endif %}
9+
<meta property="og:title" content="python.ru | {{ post.name }} " />
10+
<meta property="og:description" content="{{ post.description }} " />
11+
<meta property="og:type" content="article" />
12+
513
{% endblock %}
614
{% block main_content %}
715
{% load staticfiles nginx_image %}
@@ -20,10 +28,9 @@
2028
<a href="https://twitter.com/intent/tweet?url=https://python.ru/post/{{ post.id }}&amp;text=@moscowpython {{ post.name }}%20 &amp;via=@moscowpython"><span class="icon-twitter"></span></a>
2129

2230
<a rel="nofollow" href="http://vkontakte.ru/share.php?url=https://python.ru/post/{{ post.id }}"><span class="icon-vk"></span></a>
23-
<a rel="nofollow" href="http://telegram.org/https://python.ru/post/{{ post.id }}"><span class="icon-telegram"></span></a>
24-
<a rel="nofollow" href="http://slake.com/https://python.ru/post/{{ post.id }}"><span class="icon-slack"></span></a>
25-
<a rel="nofollow" href="http://slake.com/https://python.ru/post/{{ post.id }}"><span class="icon-linkd"></span></a>
26-
<a rel="nofollow" href="http://slake.com/https://python.ru/post/{{ post.id }}"><span class="icon-g-plus"></span></a>
31+
<a rel="nofollow" href="https://t.me/share/url?url=https://python.ru/post/{{ post.id }}"><span class="icon-telegram"></span></a>
32+
<a rel="nofollow" href=" http://www.linkedin.com/shareArticle?mini=true&url=https://python.ru/post/{{ post.id }}"><span class="icon-linkd"></span></a>
33+
<a rel="nofollow" href="https://plus.google.com/share?url=https://python.ru/post/{{ post.id }}"><span class="icon-g-plus"></span></a>
2734
</div>
2835
<h1>{{ post.name }}</h1>
2936
{% if post.url %}<time datetime="">{{ post.url }}</time>{% endif %}

0 commit comments

Comments
 (0)