romy_mathew has asked for the wisdom of the Perl Monks concerning the following question:
Please suggest a solution
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:/ +/www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>[%template.title]</title> <meta name="generator" content="Ipad2 and iphone accesories" / +> <meta name="author" content="cloudsandcolors.com" />
[%Meta title = 'This is my heading' %]
The above code works without any problem but anytime I need to change the page title I need to manually correct the title head on page
I want to create a dynamic title for each page from a varriable. like
[%META title = '$varriable' -%]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to make dynamic result in META varriable in perl template toolkit
by technojosh (Priest) on Jan 08, 2013 at 17:59 UTC | |
by romy_mathew (Beadle) on Jan 09, 2013 at 02:49 UTC | |
|
Re: How to make dynamic result in META varriable in perl template toolkit
by CountZero (Bishop) on Jan 08, 2013 at 19:40 UTC | |
|
Re: How to make dynamic result in META varriable in perl template toolkit
by theshz (Sexton) on Jan 09, 2013 at 19:11 UTC | |
|
Re: How to make dynamic result in META varriable in perl template toolkit
by 0day (Sexton) on Jan 08, 2013 at 19:17 UTC |