dynamically generates posts from markdown in posts folder