Revert "generate head page dynamicly"

This reverts commit 4d22c9513b7ee5de02b9b47b4986dcf5fba25136.