Limit function to first page of homepage

Is there a way to limit something on the first page of the homepage only using isHome?

{{ if .IsHome }}
	// content for first page only goes here 
{{ else }}
   // content for whole site including paginated pages from page 2 of homepage
{{ end }}
 {{ if not $paginator.HasPrev }}
             // content goes here

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.