Fix block inheritance issue

These commits fix the issue of the title not being properly changed due to not inheriting the head block of base_layout properly.