diff --git a/_static/favicon.ico b/_static/favicon.ico new file mode 100644 index 0000000..5a20890 Binary files /dev/null and b/_static/favicon.ico differ diff --git a/_static/favicon.svg b/_static/favicon.svg new file mode 100644 index 0000000..ebfea9b --- /dev/null +++ b/_static/favicon.svg @@ -0,0 +1,9 @@ + + + + diff --git a/_templates/layout.html b/_templates/layout.html index 41707e9..0a67478 100644 --- a/_templates/layout.html +++ b/_templates/layout.html @@ -7,6 +7,14 @@ {% endblock %} +{# タブのアイコン。F マーク(ブログと同じ絵)。SVG の中の prefers-color-scheme で + 暗いタブでは白抜きになる。ico は SVG を読まないブラウザ用 #} +{% block extrahead %} + + + +{% endblock %} + {# 本体の div に id と tabindex を足すためだけの差し替え。tabindex が無いと フォーカスが本文へ移らず、次の Tab がまた先頭から始まる。 中身は sphinx_rtd_theme 3.0.2 の layout.html と同じ(版は requirements.txt で固定) #}