Add header or feature-image variable for pages

The idea os such variable os to add the capability of a main image/banner to a post/page.
like this in jekyll: https://newhaven.io/blog/creating-featured-image-banner-jekyll/

That already can be done easily in a template