<% if (typeof(isHead) !== 'undefined' && isHead) { %>
    <% if (theme.plugins.fancybox) { %>
        <%- css('vendor/fancybox/jquery.fancybox') %>
    <% } %>
    <% if (theme.plugins.google_analytics) { %>
        <%- partial('plugin/google-analytics') %>
    <% } %>
    <% if (theme.plugins.google_site_verification) { %>
        <meta name="google-site-verification" content="<%= theme.plugins.google_site_verification %>" />
    <% } %>
    <% if (theme.plugins.baidu_analytics) { %>
        <%- partial('plugin/baidu-analytics') %>
    <% } %>
<% } else { %>
    <% if (theme.plugins.fancybox) { %>
        <%- js('vendor/fancybox/jquery.fancybox.pack') %>
    <% } %>
<% } %>