LPS-39662 Null check
LPS-40289 Initial publication does not happen when there is no layout in the site
LPS-40289 Layout can be null
LPS-40289 Update UI with public pages/private pages information
LPS-40289 Minor source formatting
LPS-40289 SF
LPS-40289 The if statements are easy enough to read