Dynamic heading

Dynamic heading for themer, there is is_index function.