It’s time to move further down our default index template, don’t you think? So far, we’ve covered assigned variables and paths, variables, and weblog=.
In this article we’re going to start digging a bit deeper into the innards of ExpressionEngine; and we needn’t be too careful, she’s not fragile, I promise!
We’ve already worked with those major building blocks: paths and global variables, and the next four lines:
<ul id="navbar">
<li id="home"><a href="http://{homepage}" title="Home">Home</a></li>
<li id="about"><a href="http://{path={my_template_group}/about}" title="About">About</a></li>
<li id="archives"><a href="http://{path={my_template_group}/archives}" title="Archives">Archives</a></li>
<li id="contact">{encode="{webmaster_email}" title="Contact"}</li>
</ul>utilize those in creating basic navigation to what may be the building blocks of your site. This is really just normal HTML using path statements and global variables. We’re all great learners here, so I’m not going to re-hash those concepts; they are linked above should you need to review how those work, and of course, in the documentation.
Last week we also touched on the weblog info tag as this is its second usage in this template. So we can continue on down the template immediately.
Now these next six lines are where things really get super-duper interesting. Ready for it?