frontend: prefix images with CDN

This commit is contained in:
Adhityaa 2018-07-04 18:21:31 +05:30
parent 07701eaa9f
commit 730db87f6f
5 changed files with 6 additions and 6 deletions

View File

@ -12,7 +12,7 @@
</head>
<div id="navbar" class="navbar">
<a href="/" class="navbar-item navbar-logo-text"><img src="/images/logo.svg" class="navbar-logo">Commento</a>
<a href="/" class="navbar-item navbar-logo-text"><img src="[[[.CdnPrefix]]]/images/logo.svg" class="navbar-logo">Commento</a>
<div class="navbar-item">
<a href="/logout" class="navbar-item">Logout</a>
<div class="float-right"><b><div id="owner-name"></div></b></div>
@ -47,7 +47,7 @@
<div id="dashboard" class="dashboard-container">
<div class="pane-left">
<div class="tree" v-if="domains.length == 0 || domains[0].show == false">
<img class="tree-svg" src="/images/tree.svg">
<img class="tree-svg" src="[[[.CdnPrefix]]]/images/tree.svg">
It's so quiet in here.
</div>

View File

@ -9,7 +9,7 @@
</head>
<div class="navbar">
<a href="/" class="navbar-item navbar-logo-text"><img src="/images/logo.svg" class="navbar-logo">Commento</a>
<a href="/" class="navbar-item navbar-logo-text"><img src="[[[.CdnPrefix]]]/images/logo.svg" class="navbar-logo">Commento</a>
<a href="/login" class="navbar-item">Login</a>
<a href="/signup" class="navbar-item">Signup</a>
</div>

View File

@ -9,7 +9,7 @@
</head>
<div class="navbar">
<a href="/" class="navbar-item navbar-logo-text"><img src="/images/logo.svg" class="navbar-logo">Commento</a>
<a href="/" class="navbar-item navbar-logo-text"><img src="[[[.CdnPrefix]]]/images/logo.svg" class="navbar-logo">Commento</a>
<a href="/login" class="navbar-item"><b>Login</b></a>
<a href="/signup" class="navbar-item">Signup</a>
</div>

View File

@ -9,7 +9,7 @@
</head>
<div class="navbar">
<a href="/" class="navbar-item navbar-logo-text"><img src="/images/logo.svg" class="navbar-logo">Commento</a>
<a href="/" class="navbar-item navbar-logo-text"><img src="[[[.CdnPrefix]]]/images/logo.svg" class="navbar-logo">Commento</a>
<a href="/login" class="navbar-item">Login</a>
<a href="/signup" class="navbar-item">Signup</a>
</div>

View File

@ -9,7 +9,7 @@
</head>
<div class="navbar">
<a href="/" class="navbar-item navbar-logo-text"><img src="/images/logo.svg" class="navbar-logo">Commento</a>
<a href="/" class="navbar-item navbar-logo-text"><img src="[[[.CdnPrefix]]]/images/logo.svg" class="navbar-logo">Commento</a>
<a href="/login" class="navbar-item">Login</a>
<a href="/signup" class="navbar-item"><b>Signup</b></a>
</div>