#!/bin/sh # Most general template template for nyll. CURRENT_PAGE=$(echo "$1" | cut -d. -f 1) if_page () { if [ "$CURRENT_PAGE" = "$1" ]; then echo "$2" fi } cat << EOF ${TITLE:?}
$(cat "$1") EOF