static: use same way of loading static in root and standalone error_document to prevent from having JS errors.
This commit is contained in:
parent
b31c61fc9f
commit
863fb9010b
2 changed files with 6 additions and 4 deletions
|
|
@ -27,9 +27,6 @@ c.template_context['default_user'] = {
|
|||
%>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
|
||||
<script src="${h.asset('js/vendors/webcomponentsjs/custom-elements-es5-adapter.js', ver=c.rhodecode_version_hash)}"></script>
|
||||
<script src="${h.asset('js/vendors/webcomponentsjs/webcomponents-bundle.js', ver=c.rhodecode_version_hash)}"></script>
|
||||
<title>${self.title()}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
|
||||
|
|
@ -46,6 +43,8 @@ c.template_context['default_user'] = {
|
|||
</%def>
|
||||
${self.robots()}
|
||||
<link rel="icon" href="${h.asset('images/favicon.ico', ver=c.rhodecode_version_hash)}" sizes="16x16 32x32" type="image/png" />
|
||||
<script src="${h.asset('js/vendors/webcomponentsjs/custom-elements-es5-adapter.js', ver=c.rhodecode_version_hash)}"></script>
|
||||
<script src="${h.asset('js/vendors/webcomponentsjs/webcomponents-bundle.js', ver=c.rhodecode_version_hash)}"></script>
|
||||
|
||||
## CSS definitions
|
||||
<%def name="css()">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue