Browse Source

Добавил favicon #42

pull/47/head
Artur Galyamov 2 years ago
parent
commit
0089d32507
  1. 1
      .gitignore
  2. BIN
      cms/static/cms/icons/favicon.ico
  3. 2
      cms/templates/base.html
  4. 1
      crossposting_backend/settings.py

1
.gitignore vendored

@ -7,3 +7,4 @@ identifier.sqlite
vk_config.v2.json
crossposting_backend/private/settings.py
logs/
static/

BIN
cms/static/cms/icons/favicon.ico

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

2
cms/templates/base.html

@ -7,6 +7,8 @@
{% bootstrap_css %}
{% bootstrap_javascript %}
{% bootstrap_messages %}
{% load static %}
<link rel="icon" href="{% static 'cms/icons/favicon.ico' %}">
<script type="text/javascript" src="https://vk.com/js/api/share.js?93" charset="windows-1251"></script>
</head>
<body>

1
crossposting_backend/settings.py

@ -147,6 +147,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/4.1/howto/static-files/
STATIC_URL = 'static/'
STATIC_ROOT = path.join(BASE_DIR, 'static')
# Default primary key field type
# https://docs.djangoproject.com/en/4.1/ref/settings/#default-auto-field

Loading…
Cancel
Save