Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

fix #600

jonaswinkler4ee7d16d3e1d
diff --git a/src/documents/templates/index.html b/src/documents/templates/index.html
index b71aaaeb6..5a7b8c9ba 100644
--- a/src/documents/templates/index.html
+++ b/src/documents/templates/index.html
@@ -15,7 +15,7 @@
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="manifest" href="{% static webmanifest %}">
<link rel="stylesheet" href="{% static styles_css %}">
- <link rel="apple-touch-icon" href="apple-touch-icon.png">
+ <link rel="apple-touch-icon" href="{% static apple_touch_icon %}">
</head>
<body>
<app-root>{% translate "Paperless-ng is loading..." %}</app-root>
diff --git a/src/documents/views.py b/src/documents/views.py
index f5ddd88ee..978a464ee 100755
--- a/src/documents/views.py
+++ b/src/documents/views.py
@@ -89,6 +89,7 @@ class IndexView(TemplateView):
context['polyfills_js'] = f"frontend/{self.get_language()}/polyfills.js" # NOQA: E501
context['main_js'] = f"frontend/{self.get_language()}/main.js"
context['webmanifest'] = f"frontend/{self.get_language()}/manifest.webmanifest" # NOQA: E501
+ context['apple_touch_icon'] = f"frontend/{self.get_language()}/apple-touch-icon.png" # NOQA: E501
return context