"use strict";
const defaultEnd = `
`;
function menuItem( title, url, text ) {
const className = title === text ? " class=\"current\"" : "";
return `${ text }`;
}
module.exports = ( {
bodyStart = "
",
bodyEnd = " " + defaultEnd.trimLeft(),
content = "",
ga = "UA-100728112-1",
head = "",
layout = "default",
title = null,
} = {} ) => `
${ title && title !== "Home" ? title + " » " : "" }PEG.js – Parser Generator for JavaScript
${ head }
${ bodyStart }
${ content.trim() }
${ bodyEnd }
`.trim();