Support both static/dynamic index pages