I have recently changed my blog to use the following url structure:
mydomain.com (index page)
mydomain.com/article_title
The articles (or blog posts) don’t have a separate template anymore and are formed from the index file so I get pretty permalinks.
The Problem
Since I set this up the new url structure the title tags have gone from my articles and the name of my site is now on every title tag instead of the name of the article.
How can I ensure that the index page (domain.com) shows “My site” as the title tag, but each article (mydomain.com/article_title) puts the article title in the title tag instead so I get “Article Title - My Site” when I am using just the index page to create my blog.
Previously I was using the following tags on a separate template for individual articles:
title="{exp:weblog:entries weblog="weblog" limit="1" status="open"}{title}{/exp:weblog:entries}"}
Having scrapped the article template to just use the index page, now only My Site shows as the title for all the articles.
Any suggestions gratefully received!