Adjustments for subdirectory serving (5)
diff --git a/templates/doc/faq.html.ep b/templates/doc/faq.html.ep
index 6d16d01..a7c41e2 100644
--- a/templates/doc/faq.html.ep
+++ b/templates/doc/faq.html.ep
@@ -6,7 +6,7 @@
<section>
<h3>Where is the source code?</h3>
- <hp>Parts of KorAP are already available on <%= doc_ext_link_to 'GitHub', 'https://github.com/KorAP' %>, and we will publish more components in the future.</p>
+ <p>Parts of KorAP are already available on <%= doc_ext_link_to 'GitHub', 'https://github.com/KorAP' %>, and we will publish more components in the future.</p>
</section>
<section>
diff --git a/templates/layouts/main.html.ep b/templates/layouts/main.html.ep
index 628fc45..3a2a89b 100644
--- a/templates/layouts/main.html.ep
+++ b/templates/layouts/main.html.ep
@@ -34,7 +34,7 @@
</footer>
% };
-<script src="<%= stash('prefix') . ' /js/' . loc('jsFile', 'kalamar-' . $Kalamar::VERSION . '-en.js') %>"></script>
+<script src="<%= stash('prefix') . '/js/' . loc('jsFile', 'kalamar-' . $Kalamar::VERSION . '-en.js') %>"></script>
%= javascript begin
window.KorAP = window.KorAP || {};
% my $api = url_for('index')->to_abs;