Adjustments for subdirectory serving (4)
diff --git a/templates/layouts/main.html.ep b/templates/layouts/main.html.ep
index aeeb186..628fc45 100644
--- a/templates/layouts/main.html.ep
+++ b/templates/layouts/main.html.ep
@@ -34,7 +34,7 @@
</footer>
% };
-%= javascript stash('prefix') . ' /js/' . loc('jsFile', 'kalamar-' . $Kalamar::VERSION . '-en.js')
+<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;
diff --git a/templates/partial/header.html.ep b/templates/partial/header.html.ep
index a9c8008..a2a2ae0 100644
--- a/templates/partial/header.html.ep
+++ b/templates/partial/header.html.ep
@@ -35,10 +35,7 @@
id="view-faq"><span><%= loc 'faq' %></span></a>
% };
-->
- <a href="/doc"
- title="<%= loc 'tutorial' %>"
- class="tutorial"
- id="view-tutorial"><span><%= loc 'tutorial' %></span></a>
+ <%= link_to 'doc_start', title => loc('tutorial'), class => "tutorial", id => "view-tutorial", begin %><span><%= loc 'tutorial' %></span><% end %>
</div>
</form>
</header>