I want to change html page title according to requested content. Such as below sample code:
<html
<head>
<title>entry_title / category_name / blog / site_name</title>
</head>Inside of the {exp:channel:entries} tag, the information of requested entry can be gathered only.
{exp:channel:entries}
{title}
......
{/{exp:channel:entries}
If I use two {exp:channel:entries} tags, there would be more SQL query. There would be a big difference in performance.
<html
<head>
<title>
{exp:channel:entries}
{title}
......
{/exp:channel:entries}
</title>
</head>
<body>
{exp:channel:entries}
{title}
......
{/exp:channel:entries}
</body>
</html>Who can give me some help? Thanks.