#!/bin/sh # Pull in global dependencies. . ./helpers.sh title_file=title.meta redo-ifchange "$title_file" # Write index head. cat << EOF EOF blog_title=`read_and_escape_file "$title_file" | head -1` printf "%s\n\n\n" "$blog_title" printf "

%s

\n\n\n"