mirror of
https://github.com/kvazar-network/webapp.git
synced 2025-01-24 13:54:20 +00:00
add dynamical favicons
This commit is contained in:
parent
19e7b372d4
commit
1200fdf8d0
@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<title>{% block title %}{{ app.name }}{% endblock %}</title>
|
||||
<link rel="stylesheet" type="text/css" href="/css/{{ app.theme }}.css?{{ app.version }}" />
|
||||
<link rel="icon" href="{% block favicon %}/favicon.ico{% endblock %}" />
|
||||
{% block favicon %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
{% block body %}{% endblock %}
|
||||
|
@ -1,5 +1,6 @@
|
||||
{% extends 'default/layout.html.twig' %}
|
||||
{% block title %}{% if title %}{{ title }} - {% endif %}{% if request.get('part') > 1 %}{{ 'Part' | trans | upper }} {{ request.get('part') }} - {% endif %}{{ app.name }}{% endblock %}
|
||||
{% block favicon %}<link rel="icon" href="{{ request.get('namespace') | jIdenticon }}" />{% endblock %}
|
||||
{% block body %}
|
||||
<div class="t-center px-16 pt-54">
|
||||
<div class="mx-a mw-560 px-16">
|
||||
|
@ -1,5 +1,6 @@
|
||||
{% extends 'default/layout.html.twig' %}
|
||||
{% block title %}{% if title %}{{ title }} - {% endif %}{{ app.name }}{% endblock %}
|
||||
{% block favicon %}<link rel="icon" href="{{ record.namespace | jIdenticon }}" />{% endblock %}
|
||||
{% block body %}
|
||||
<div class="t-center px-16 pt-54">
|
||||
<div class="mx-a mw-560 px-16">
|
||||
|
Loading…
x
Reference in New Issue
Block a user