Skip to content

Commit

Permalink
Set meta tag to tell Chrome not to use auto dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
russss committed Feb 4, 2024
1 parent 493da8a commit f025f6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="color-scheme" content="only light">
<title>{% block title %}{% endblock %}{% if self.title() %} - {% endif %}Electromagnetic Field</title>
{% if self.title() -%}
<meta property="og:title" content="{{self.title()|replace("\n", " ")}}">
Expand Down

0 comments on commit f025f6b

Please sign in to comment.