Understanding the Roots base template

One of the impressive things about the Roots theme is that it has pulled the fundamental layout elements out of individual template files and placed them into a file named base.php. We'll look at this in just a moment.

First, let's notice that the base.php file receives instructions on fundamental layout matters from the config.php file inside the lib folder. Take a moment to open this latter file and scan through it. I will not touch upon everything here. You can read more about the details in the following two pages in the Roots documentation:

For ...

Get Bootstrap Site Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.