As we head down the road of dissecting the default templates, we’re going to learn some of the important facets of ExpressionEngine’s infrastructure.
Today, we’re going to focus on the area between the <head> and </head> section of the index template.
In doing that, we’re going to come across three vital elements that you need to understand, and it will be easier to do so going in. The first is the weblog= parameter. This parameter is going to be used in the majority of your tags, and tells that tag what weblog(s) you are pulling data from. So, when someone asks: “How do I relate a weblog to a template?” the answer is invariably “the weblog= parameter”. I encourage you to perform a search for “weblog=“in the docs right now to see just how many tags this parameter can be used in.
The second concept is variables, there are two types: variables that are context sensitive and require a surrounding tag pair, as well as global variables.
The third concept we’ll explore is path statements. Whenever you see something that is in the format of =“template_group/template_name”, then that is a form of path statement. You can read more about those here.
Now then, shall we dig in?