<% var title = page.title; if(is_current('/docs.html') || is_current('/docs/')) { title = "Documentation - " + config.title; } else if(title && !(is_home() || (is_current('/') || is_current('/index.html')))) { title = title + " - " + config.title; } else { title = config.title + " - " + config.subtitle; } %> <%= title %> <% if(is_home() || (is_current('/') || is_current('/index.html'))) { %> <%- open_graph({description: config.description, image: "https://svrjs.org/logo.png", title: title}); %> <% } else if(is_page() && page.layout == 'error-page') { %> <%- open_graph({description: "An error page."}); %> <% } else { %> <%- open_graph(); %> <% } %> <%- favicon_tag("/favicon.ico"); %> <% if(is_home() || (is_current('/') || is_current('/index.html'))) { %> <% } %> <% if(!(is_page() && page.layout == "docs-page")) { %> <%- css('css/main.css'); %> <% if(is_page() && page.layout == 'error-page') { %> <%- css('css/error.css'); %> <% } %> <% } else { %> <%- css('css/docs.css'); %> <% } %> <% if(is_home() || page.layout == 'index-page') { %> <%- css('css/index-page.css'); %> <% } %> <%- css('css/highlight.css'); %>