use pkger for embedding static contents

Co-authored-by: Vikram Yadav <vyadav@pivotal.io>
Signed-off-by: Rui Yang <ruiya@vmware.com>
This commit is contained in:
Rui Yang
2020-10-14 21:19:23 -04:00
committed by CI Bot
parent 1eab25f89f
commit 7b50cbf0ac
11 changed files with 39 additions and 144 deletions

View File

@@ -5,15 +5,15 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ issuer }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="{{ url .ReqPath "static/main.css" }}" rel="stylesheet">
<link href="{{ theme .ReqPath "theme/styles.css" }}" rel="stylesheet">
<link rel="icon" href="{{ theme .ReqPath "theme/favicon.png" }}">
<link href="{{ static "main.css" }}" rel="stylesheet">
<link href="{{ theme "styles.css" }}" rel="stylesheet">
<link rel="icon" href="{{ theme "favicon.png" }}">
</head>
<body class="theme-body">
<div class="theme-navbar">
<div class="theme-navbar__logo-wrap">
<img class="theme-navbar__logo" src="{{ url .ReqPath logo }}">
<img class="theme-navbar__logo" src="{{ logo }}">
</div>
</div>