~chambln/cosine.blue

14b7309c0cbb2132575e5c594bd6edbd1dda3491 — Gregory Chamberlain a month ago f4aa448
Omit header, footer for ‘solo’ layout

This layout is unused as of yet.
1 files changed, 2 insertions(+), 2 deletions(-)

M bin/make
M bin/make => bin/make +2 -2
@@ 52,7 52,7 @@ html() {
            printf '<link rel="canonical" href="%s">\n' https://cosine.blue/"$canonical"
        } | x head
        {
            x small < share/header.html | x header
            [ _"${layout-}" = _solo ] || x small < share/header.html | x header
            {
                {
                    if [ -n "${title-}" ]; then


@@ 80,7 80,7 @@ html() {
                } | x header
                cat
            } | x 'main id="content"'
            x small < share/footer.html | x footer
            [ _"${layout-}" = _solo ] || x small < share/footer.html | x footer
        } | x body
    } | x 'html lang="en-GB"'
}