site/source/layouts/layout.erb (39 lines of code) (raw):

<%# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. %> <!doctype html> <html> <head> <meta charset="utf-8"> <!-- Always force latest IE rendering engine or request Chrome Frame --> <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"> <meta name="google-site-verification" content="9N7qTOUYyX4kYfXYc0OIomWJku3PVvGrf6oTNWg2CHI" /> <% if content_for?(:meta_tags) %> <%= yield_content :meta_tags %> <% end %> <!-- Use title if it's in the page YAML frontmatter --> <title><%= current_page.data.title || "The Middleman" %></title> <%= stylesheet_link_tag "all", "highlight" %> <%= javascript_include_tag "all" %> </head> <body class="<%= page_classes %>"> <div class="container"> <%= partial "layouts/header" %> <%= yield %> <%= partial "layouts/footer" %> </div> </body> </html>