ASSET_PATH was wrong in page.html and post.html of theme.
ASSET_PATH did not include theme name.
Include settings.yml in layout files for page and post.