feature/60: revert to trusting Selmer to resolve the servlet context...

Even though it doesn't. This works in Jetty, which is OK for development. It doesn't work in Tomcat, which I would like it to, but that possibly doesn't matter and at least isn't an issue for now.
This commit is contained in:
Simon Brooke 2021-05-21 10:17:12 +01:00
parent e0a310a7e5
commit 03c274486e
No known key found for this signature in database
GPG key ID: A7A4F18D1D4DF987
4 changed files with 16 additions and 5 deletions

View file

@ -6,11 +6,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="referrer" content="same-origin">
<link rel="stylesheet" type="text/css" href="{{servlet-context}}/css/yyy-common.css" />
<link rel="stylesheet" type="text/css" href="{{servlet-context}}/css/yyy-site.css" />
<link rel="stylesheet" type="text/css" href="{{servlet-context}}/css/spinner.css" />
{% style "/css/yyy-common.css" %}
{% style "/css/yyy-site.css" %}
{% style "/css/spinner.css" %}
<link href="https://fonts.googleapis.com/css?family=Archivo+Black|Archivo+Narrow" rel="stylesheet"/>
<script src="{{servlet-context}}/js/lib/node_modules/jquery/dist/jquery.min.js"></script>
{% script "/js/lib/node_modules/jquery/dist/jquery.min.js" %}
<title>{{site-title}}: {{title}}</title>
{% endblock %}
{% block extra-head %}