NAME

read_file

Read a file and return a scalar with the file's contents.

get_modified_time

Takes a file and returns the last modified time of the file.

slugify

Takes an input string (e.g. the title of a blog post) and "slugifies" it, meaning that it removes non-ASCII characters, removes all non-word characters (e.g. '_', '-', etc.), removes leading and trailing whitespace, replaces spaces with hyphens, and converts to lowercase.

find_template_statement

Takes a string, returns <template> part of the first "use <template> template" line.