{select_query assign="homePage" return="val"}
		h.content 
	FROM _toc t 
		INNER JOIN _pages p ON (t.pageId = p.id)
		INNER JOIN _page_history h ON (h.pageId = p.id)
		LEFT JOIN _users u ON (h.userId = u.id)
	WHERE
		t.pageName = 'home' AND h.isActive = '1'
	ORDER BY h.version DESC
	LIMIT 1
{/select_query}

{eval var=$homePage}