| @@ -90,14 +90,14 @@ | ||
| 90 | 90 | $queried_object_id = get_queried_object_id(); |
| 91 | 91 | |
| 92 | 92 | if ( is_front_page() ) { |
| 93 | 93 | if ( ! is_paged() ) { |
| 94 | - $builder = new Front_Page_Builder( $this->parsely ); | |
| 94 | + $builder = new Front_Page_Builder( $this->parsely, $post ); | |
| 95 | 95 | } else { |
| 96 | - $builder = new Paginated_Front_Page_Builder( $this->parsely ); | |
| 96 | + $builder = new Paginated_Front_Page_Builder( $this->parsely, $post ); | |
| 97 | 97 | } |
| 98 | 98 | } elseif ( 'page' === get_option( 'show_on_front' ) && ! Utils::get_page_on_front() ) { |
| 99 | - $builder = new Front_Page_Builder( $this->parsely ); | |
| 99 | + $builder = new Front_Page_Builder( $this->parsely, $post ); | |
| 100 | 100 | } elseif ( |
| 101 | 101 | is_home() && ( |
| 102 | 102 | ! ( 'page' === get_option( 'show_on_front' ) && ! Utils::get_page_on_front() ) || |
| 103 | 103 | Utils::get_page_for_posts() === $queried_object_id |