We've already created our first theme. It's nothing special; just a rather simple layout based on Bootstrap. In this part, we're going to add more details as we progress step by step.
You don't need all these features in every theme, but it's certainly good to know them to make sure you have some of the available solutions in your mind, in case you need them. As we add new features, we also create new themes. If you want, you can keep on working with bootstrap2
, but the code in this book is split into different themes.
We just copy the theme
directory, change the number in description.txt
, and install the new theme.
If you played around with the new theme, you'll probably have noticed that there's an autonav
block on each page. That basically means that you can have a navigation that differs on each page. This is a great feature, which helps you to create a huge mess.
We could improve that by using page defaults, which allow you to add template-like blocks. Whenever...