Change templates to use snippet() to read from the DB instead of files