This may be a stupid basic question, but my home page is set by my baseof.html
, I’m trying to figure out how to have content on it without setting the other pages (static, list, single) an example is I want the commented code (partials) only to be visible on the main page (home) and no other pages:
<!DOCTYPE html>
<html lang="{{ with site.LanguageCode }}{{ . }}{{ else }}en-us{{ end }}">
{{ partial "head.html" . }}
<body>
{{ partial "navigation.html" . }}
{{ partial "header_banner.html" . }}
<!-- start of partials
{{ partial "mission_banner.html" . }}
{{ partial "specials_banner.html" . }}
{{ partial "team.html" . }}
{{ partial "feature_products.html" . }}
{{ partial "products_banner.html" . }}
{{ partial "form_newsletter.html" . }}
{{ partial "form_consultation.html" . }}
{{ partial "form_contact.html" . }}
end of partials-->
{{ block "main" .}}
{{ end }}
{{ partial "contact_info.html" . }}
{{ partial "tool-top.html" . }}
</body>
{{ partial "footer.html" . }}
</html>