When compiling item data, use render() instead of partial(), which fixes custom.php double-loading problem.