revert some post changes
code snippets moved to YAML file