Last change
on this file since 1028 was
1028,
checked in by mylan, 15 years ago
|
Implemented possibility to add specific ecma-script to header of a seo supported content
|
File size:
374 bytes
|
Line | |
---|
1 | ## Script (Python) "qSEO_ECMA_Script" |
---|
2 | ##bind container=container |
---|
3 | ##bind context=context |
---|
4 | ##bind namespace= |
---|
5 | ##bind script=script |
---|
6 | ##bind subpath=traverse_subpath |
---|
7 | ##parameters= |
---|
8 | ##title=Generate ECMA Script from SEO properties |
---|
9 | ## |
---|
10 | |
---|
11 | prop_name = 'qSEO_ecma_script' |
---|
12 | |
---|
13 | if context.hasProperty(prop_name): |
---|
14 | return context.getProperty(prop_name) |
---|
15 | |
---|
16 | # No ecma script by default |
---|
17 | return '' |
---|
Note: See
TracBrowser
for help on using the repository browser.