<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><%= current_page.data.title %></title>
<%= stylesheet_link_tag :screen, media: :screen %>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.js"></script>
<%= javascript_include_tag  "all" %>
</head>
<body class="<%= page_classes %>">

<div class="tocify-wrapper">
    <h3><a href="">PHP Curl Class</a></h3>
    <div id="toc"></div>
    <% if current_page.data.toc_footers %>
        <ul class="toc-footer">
            <% current_page.data.toc_footers.each do |footer| %>
                <li><%= footer %></li>
            <% end %>
        </ul>
    <% end %>
</div>

<div class="page-wrapper">
    <div class="dark-box"></div>
    <div class="content">
        <%= yield %>
            <% current_page.data.includes && current_page.data.includes.each do |include| %>
            <%= partial "includes/#{include}" %>
        <% end %>
    </div>
    <div class="dark-box"></div>
</div>

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-51346123-1', 'phpcurlclass.com');
ga('send', 'pageview');
</script>

</body>
</html>
