Never been to CodeSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

Dynamic page titles in Expression Engine (See related posts)

// Puts the weblog name and entry title in the title tag in Expression Engine

<title>{exp:weblog:info weblog="name-of-weblog-here"}
    {blog_title}
{/exp:weblog:info} | {exp:weblog:entries}
    {title} 
{/exp:weblog:entries}</title>

Comments on this post

leevigraham posts on Jan 24, 2008 at 01:31
I have published an extension that makes creating titles and other meta information very very easy and flexible.

Check it out here: LG Better Meta.

You need to create an account or log in to post comments to this site.