<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!doctype html>

<html lang="<%= I18n.locale %>">
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title><%= "#{yield(:title)} - #{Settings.general.name}" %></title>
  <script src="https://cdn.polyfill.io/v2/polyfill.js?features=default,Intl.~locale.en"></script>
  <%= render 'layouts/stylesheets' %>
  <%= IncludeAsset.css '/client/css/global/page.css' %>
  <%= IncludeAsset.css '/client/css/bootstrap.css' %>
  <style>
    body {padding-left: 0}
  </style>
  <%= favicon_link_tag %>
</head>
<body class="<%= @theme == 'minimal' ? 'minimal' : nil %>">
<%= render 'layouts/apified_header' %>
<div class="site-content">
  <%= yield %>
</div>
<%= render 'layouts/apified_footer' %>

</body>
</html>