Вывел кнопку ВК, пока с хардкодом ссылки #28

This commit is contained in:
Artur Galyamov 2022-12-28 01:44:32 +05:00
parent d0ac64d244
commit 5513f9c55d
2 changed files with 12 additions and 1 deletions

View File

@ -25,4 +25,12 @@
</div>
</div>
</div>
{% endblock content %}
{% endblock content %}
{% block extra_scripts %}
<script type="text/javascript">
const gen = {
url: 'https://zakonvremeni.ru/analytics/7-3-/58372-sergej-lavrov-predlozheniya-rossii-po-ukraine-luchshe-vypolnit-podobru-pozdorovu.html'
}
document.write(VK.Share.button(gen));
</script>
{% endblock %}

View File

@ -7,9 +7,12 @@
{% bootstrap_css %}
{% bootstrap_javascript %}
{% bootstrap_messages %}
<script type="text/javascript" src="https://vk.com/js/api/share.js?93" charset="windows-1251"></script>
</head>
<body>
{% block content %}
{% endblock content %}
{% block extra_scripts %}
{% endblock %}
</body>
</html>