In your page type configuration go to the Search tab and choose BOTH (html and content). This will allow you to get both the rendered HTML and the structured content of those pages. You can also add some data attributes into your markup for things you don't want indexed like the header and footer by adding this attribute to your wrapping element data-ktc-search-exclude
. I'd also suggest adding that attribute to your side navigation items and other areas you don't want indexed.
When configuring your page type search attributes, be sure to NOT use the "default" settings that Kentico provides as they will not work for most scenarios. Be sure to read what each of the "local options" do. i.e.: Content, Searchable, Tokenized, Index update trigger.
Follow this documentation for further guidance.