Hi,

> Thanks for pointing that out, this is probably a stupid question, but
> where do I change the metadata author?

In previous versions of web2py this was the way to set meta data:

In menu.py or in a controller:

## read more at http://dev.w3.org/html5/markup/meta.name.html
response.meta.author = 'Your Name <y...@example.com>'
response.meta.description = 'a cool new app'
response.meta.keywords = 'web2py, python, framework'
response.meta.generator = 'Web2py Web Framework'
response.meta.copyright = 'Copyright 2011'


and then in the <head></head> section of a layout something like:

<meta name="author" content="{{response.meta.author}}" />
<meta name="description" content="{{=response.meta.description}}" />
<meta name="generator" content="{{response.meta.generator}}" />
<meta name="keywords" content="{{=response.meta.keywords}}" />


... I am not sure it still is ...


Regards,

Annet

Reply via email to