aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/index.html
diff options
context:
space:
mode:
authorKim <1877318+kimsible@users.noreply.github.com>2020-07-10 10:20:11 +0200
committerGitHub <noreply@github.com>2020-07-10 10:20:11 +0200
commitcaf2aaf4f9d38ad441a5562c3b8720f8779d6f78 (patch)
tree2a93cbfd2aee6089fd334f28dcb47c18a368a6fd /client/src/index.html
parent27647da17fe53ff24ed27ef8618bc244c0be6b26 (diff)
downloadPeerTube-caf2aaf4f9d38ad441a5562c3b8720f8779d6f78.tar.gz
PeerTube-caf2aaf4f9d38ad441a5562c3b8720f8779d6f78.tar.zst
PeerTube-caf2aaf4f9d38ad441a5562c3b8720f8779d6f78.zip
Add ability to override client assets : logo - favicon - PWA icons - PWA manifest name and description (#2897)
* Add client-overrides storage to config * Add static-serve for client overrides * Move backgroun-image logo from bundle to css tag for runtime content hash * Add dynamic JSON manifest * Add content hash for manifest, favicon and logo Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Diffstat (limited to 'client/src/index.html')
-rw-r--r--client/src/index.html11
1 files changed, 9 insertions, 2 deletions
diff --git a/client/src/index.html b/client/src/index.html
index 52ae000bb..e5d1569aa 100644
--- a/client/src/index.html
+++ b/client/src/index.html
@@ -7,9 +7,16 @@
7 <meta name="theme-color" content="#fff" /> 7 <meta name="theme-color" content="#fff" />
8 <meta property="og:platform" content="PeerTube" /> 8 <meta property="og:platform" content="PeerTube" />
9 <!-- Web Manifest file --> 9 <!-- Web Manifest file -->
10 <link rel="manifest" href="/manifest.webmanifest"> 10 <link rel="manifest" href="/manifest.webmanifest?[manifestContentHash]">
11 11
12 <link rel="icon" type="image/png" href="/client/assets/images/favicon.png" /> 12 <link rel="icon" type="image/png" href="/client/assets/images/favicon.png?[faviconContentHash]" />
13
14 <!-- logo background-image -->
15 <style type="text/css">
16 .icon-logo {
17 background-image: url(/client/assets/images/logo.svg?[logoContentHash]);
18 }
19 </style>
13 20
14 <!-- base url --> 21 <!-- base url -->
15 <base href="/"> 22 <base href="/">