<title> Tag and Paginated Pages

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
tpost
Regular
Posts: 77
Joined: Fri Sep 21, 2007 1:45 am

<title> Tag and Paginated Pages

Post by tpost »

Hi everyone!

Just wondering if it is currently possible to detect if someone is on a paginated page (eg. the "Previous Page" and "Next Page" links at the bottom of the blog entries)?

I noticed that if you are on a paginated page that the <title> tag isn't dynamic and simply duplicates whatever the startpage's title tag is.

If we could detect if someone is on a paginated page, we could modify the <title> tag.

Thanks for reading!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: <title> Tag and Paginated Pages

Post by garvinhicking »

Hi!

Yes, you can check {$footer_currentPage} which contains the number of the current page.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
tpost
Regular
Posts: 77
Joined: Fri Sep 21, 2007 1:45 am

Post by tpost »

As always, thanks Garvin!
Haven't implemented the change yet, but this should be easy!
Post Reply