optimize list.ftl and index.ftl