Configuring Page Sets¶
Page Sets are a grouping of pages in a Site; these pages can be either Public or Private pages. Settings configured for a Page Set apply to all pages in the page set and override options at the site level. Customizations to individual pages override those for the page set.
To access the Page Sets’ settings,
Navigate to the Product () menu → Site Builder → Pages.
Click the Gear icon next Public Pages. Alternately, you can also modify the site’s Private Pages Page Set.
Configuring the Page Set’s Look and Feel¶
On the Look and Feel tab, you can customize your site’s Page Sets’ Look and Feel and the Site Logo.
Look and Feel¶
Themes create the overall feel for the Site and can transform the look entirely. The Current Theme section displays the Theme currently applied to the Page Set, along with any configurable theme settings and color schemes that the Theme has. Many Themes include more than one color scheme, which keeps the existing look and feel while giving the Site a different flavor.
To change the current theme,
Click the Change Current Theme button and select the Theme from the window that appears.
Select your desired theme.
Click Save to apply the new Theme to the Page Set.
You can enter custom CSS in the CSS section for modifying your theme. You can apply Themes to the entire Site (described here) or to individual pages (described in Configuring Pages).
By default, the Liferay logo is used for your Site’s pages. To use your own logo for a Site,
Expand the Logo section.
Click the Change button.
Browse to the location of your logo. Make sure your logo fits the space in the top left corner of the Theme you’re using for your Site. If you don’t, your other page elements are pushed aside to make way for the logo.
Choose whether to display the Site name on the Site. When Show Site Name is enabled, the Site name appears next to the logo.
This option is enabled by default and can’t be disabled if the Allow Site Administrators to set their own logo option is disabled in Instance Settings. Removing the Site name is not available for the default Liferay Site—you can configure this only for new Sites and User pages.
Click Save to apply the changes.
The Site’s logo settings are now configured.
Configuring the Page Set’s Advanced Settings¶
The Advanced tab contains several options that can impact the Site and overall performance. Administrators should proceed with caution.
If you have multiple Sites, one Site is marked as the Default Site that visitors see when they visit your domain name. By default, only the default Site’s Public Pages are displayed in the navigation.
You can display another Site’s Public Pages in the default Site’s navigation by enabling the Merge public pages option for that Site.
Adding too many pages to the main navigation can make it become unwieldy very quickly.
Check the Merge Liferay DXP public pages box.
Click Save when finished.
Mobile Device Rules¶
You can add Mobile Device Rules to configure behaviors for specific mobile devices or types for the Page Set. Mobile device rules are inherited from your Public Pages, but you can define specific rules per page. You can edit the Look and Feel of specific pages for mobile devices, including the theme. See Mobile Device Rules for more information.
Here you can configure search and indexing rules in the
robots.txt rules for the domain’s public and private pages. The
robots.txt file provides instructions to search engines and other tools that are automatically crawling and indexing your Site. For example, you can specify not to index certain pages.
This generates a sitemap you can send to some search engines so they can crawl your Site. It uses the industry standard sitemap protocol. Select a search engine link to send the sitemap to it (only required once per Site), or select the preview link to see the generated XML that is sent to search engines.