In the code above, you can just replace "no parent" with whatever you want that meta value to be when there's no parent.
If you want to be more document-specific, you can create a template variable called "MetaDescription" and connect it to your template(s).
Then put this tag in the template:
<meta name="description" content="[[*MetaDescription]]" />
You can edit the TV for each resource to put whatever you want in it, and if you set the Input Options Value field of the TV to @INHERIT, children will inherit the value from the nearest ancestor with a value.
[ed. note: BobRay last edited this post 14 years, 11 months ago.]