<!DOCTYPE html>
<html>
    <head>
        <link rel="stylesheet" href="/theme/css/normalize.css" />
        <link rel="stylesheet" href="//cdn.example.com/css/cdn.css" />
        <title><%= $self->title %> - <%= $site->title %></title>
    </head>
    <body>
        <a class="brand" href="/">Home</a>
        <nav>
            % for my $link ( $site->nav( 'main' ) ) {
                <a href="<%= $link->href %>" title="<%= $link->title %>"><%= $link->text %></a>
            % }
        </nav>
        <%= $content %>
        <footer>
            <a href="<%= $site->data->{profile_url} // '' %>">Profile</a>
            <div id="app-info"><%= $self->app->data->{info} // '' %></div>
        </footer>
    </body>
</html>
