houdini/app/views/layouts/apified.html.erb

33 lines
912 B
Text
Raw Normal View History

2020-06-12 15:03:43 -05:00
<%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>
<!doctype html>
2018-06-06 10:29:07 -05:00
<html lang="<%= I18n.locale %>">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
2020-06-10 17:31:47 -05:00
<title><%= "#{yield(:title)} - #{Houdini.general.name}" %></title>
<script>
2019-11-18 17:32:57 -06:00
window.I18n = {}
I18n.defaultLocale = "<%= I18n.default_locale %>"
I18n.locale = "<%= I18n.locale %>"
window._csrf = "<%= form_authenticity_token %>"
</script>
2018-05-24 10:06:44 -05:00
<%= render 'layouts/stylesheets' %>
2018-06-08 10:21:09 -05:00
<%= favicon_link_tag %>
2018-05-24 16:34:04 -05:00
<style>
body {padding-left: 0}
</style>
</head>
<body class="<%= @theme == 'minimal' ? 'minimal' : nil %>">
2018-05-24 16:34:04 -05:00
<%= render 'layouts/apified_header' %>
2018-05-24 10:06:44 -05:00
<%= yield :javascripts %>
2018-06-06 10:40:05 -05:00
<div class="site-content" role="main">
<%= yield %>
2018-05-24 16:34:04 -05:00
</div>
<%= render 'layouts/apified_footer' %>
2018-05-24 10:06:44 -05:00
</body>
</html>