Added missing templates (2)
diff --git a/templates/layouts/main.html.ep b/templates/layouts/main.html.ep
new file mode 100644
index 0000000..cb72f8a
--- /dev/null
+++ b/templates/layouts/main.html.ep
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title><%= title() // loc('korap_desc') %></title>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=false, user-scalable=no" />
+ <link href="/img/favicon.ico" rel="shortcut icon" type="image/x-icon" />
+ <link href="/css/kalamar-<%= $Kalamar::VERSION %>.css" type="text/css" rel="stylesheet" />
+ <script src="/js/<%== loc('jsFile', 'kalamar-' . $Kalamar::VERSION . '-en.js') %>" type="text/javascript" async="async"></script>
+ </head>
+% my $embedded = 0;
+% $embedded = 1 if stash('embedded');
+ <body<% if ($embedded) { %> class="embedded"<% } %>>
+ <div id="kalamar-bg"></div>
+
+ % unless ($embedded) {
+ %= include 'partial/header'
+ % }
+
+ % my $aside = content_for('sidebar');
+ <aside tabindex="0" class="<% unless (length($aside) > 0) { %>off<% } elsif (stash('sidebar_active')) { %>active<% } %>">
+ <div>
+ %= $aside
+ </div>
+ </aside>
+
+ <main<% if (stash 'main_class') { %> class="<%= stash 'main_class' %>"<% } %>>
+ %= content
+ </main>
+
+ % unless ($embedded) {
+ <footer>
+ <a href="http://korap.ids-mannheim.de/"><%= loc 'about' %></a>
+ <%= doc_link_to 'V '. $Kalamar::VERSION, 'korap', 'kalamar' %>
+ </footer>
+ %= notifications 'Alertify', -no_include
+ % };
+%= javascript begin
+ window.KorAP = window.KorAP || {};
+ % my $api = url_for('index')->to_abs;
+ % $api =~ s!/$!!;
+ KorAP.URL = '<%== $api %>';
+% end
+ </body>
+</html>