Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (25 sloc) 713 Bytes
This file is loaded before start the theme
You can add some configuration code in this file
// Background image
// If the first page doesn't have a cover image or an image the background is taken from Unsplash images
$backgroundImage = '';
if ($page->coverImage()===false) {
$domImage = DOM::getFirstImage($page->content());
if ($domImage!==false) {
$backgroundImage = $domImage;
} else {
$backgroundImage = $page->coverImage();
// Social Networks for icons in the footer
$socialNetworks = array(
You can’t perform that action at this time.