added serialised config to index template