summaryrefslogtreecommitdiff
path: root/src/ollama_web/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/ollama_web/templates/index.html')
-rw-r--r--src/ollama_web/templates/index.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ollama_web/templates/index.html b/src/ollama_web/templates/index.html
index 11457e8..df877fa 100644
--- a/src/ollama_web/templates/index.html
+++ b/src/ollama_web/templates/index.html
@@ -11,9 +11,7 @@
<script src="{{ url_for('static', path='vendor/purify.min.js') }}"></script>
<script src="{{ url_for('static', path='vendor/highlight.min.js') }}"></script>
<script src="{{ url_for('static', path='vendor/katex.min.js') }}"></script>
- <script>
- window.I18N = {{ messages | tojson }};
- </script>
+ <meta name="ollama-web-i18n" content="{{ messages | tojson | forceescape }}" />
<script src="{{ url_for('static', path='i18n.js') }}"></script>
</head>
<body>
@@ -89,4 +87,4 @@
<script src="{{ url_for('static', path='mcp.js') }}"></script>
<script src="{{ url_for('static', path='app.js') }}"></script>
</body>
-</html> \ No newline at end of file
+</html>