make index page support post figure