Skip to content

Commit 5f3dbf9

Browse files
committed
Use different favicons for different components (notebook, terminal, file)
1 parent 7b5c42d commit 5f3dbf9

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed
1.12 KB
Binary file not shown.
1.12 KB
Binary file not shown.
1.12 KB
Binary file not shown.

notebook/templates/edit.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
{% block title %}{{page_title}}{% endblock %}
44

5+
{% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="{{static_url("base/images/favicon-file.ico") }}">{% endblock %}
6+
57
{% block stylesheet %}
68
<link rel="stylesheet" href="{{ static_url('components/codemirror/lib/codemirror.css') }}">
79
<link rel="stylesheet" href="{{ static_url('components/codemirror/addon/dialog/dialog.css') }}">

notebook/templates/notebook.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{% extends "page.html" %}
22

3+
{% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="{{static_url("base/images/favicon-notebook.ico") }}">{% endblock %}
4+
35
{% block stylesheet %}
46

57
{% if mathjax_url %}

notebook/templates/terminal.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
{% block title %}{{page_title}}{% endblock %}
44

5+
{% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="{{static_url("base/images/favicon-terminal.ico") }}">{% endblock %}
6+
57
{% block bodyclasses %}terminal-app {{super()}}{% endblock %}
68

79
{% block params %}

0 commit comments

Comments
 (0)