summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2015-02-13 12:08:39 +0100
committerJeremy Kersten <jke@odoo.com>2015-02-13 13:51:01 +0100
commit7638fe51a9f5f1dcf7041fa1da64c97bcb2dcd97 (patch)
tree768de0d7b2a41c5f57e1d0115bad2996805d6efa
parentaed865aa93940f237a3c04dcd5f08761d0222c4a (diff)
[FIX] website*: SEO optimizely
-rw-r--r--addons/im_livechat/views/im_livechat.xml2
-rw-r--r--addons/website/views/snippets.xml42
-rw-r--r--addons/website/views/website_templates.xml7
3 files changed, 26 insertions, 25 deletions
diff --git a/addons/im_livechat/views/im_livechat.xml b/addons/im_livechat/views/im_livechat.xml
index 6ff631aab8f..b680990ebfc 100644
--- a/addons/im_livechat/views/im_livechat.xml
+++ b/addons/im_livechat/views/im_livechat.xml
@@ -86,7 +86,7 @@
<!-- Template rendering all the scripts required to execute the Livechat from a page containing Odoo -->
<template id="internal_loader" name="All the scripts to launch the LiveSupport from an internal Web Page">
<!-- css style -->
- <link t-att-href="'%s/web/css/im_livechat.internal_lib' % (url)" rel="stylesheet"/>
+ <link property='stylesheet' t-att-href="'%s/web/css/im_livechat.internal_lib' % (url)" rel="stylesheet"/>
<!-- js of all the required lib (internal and external) -->
<script t-att-src="'%s/web/js/im_livechat.internal_lib' % (url)" type="text/javascript" />
<!-- the loader -->
diff --git a/addons/website/views/snippets.xml b/addons/website/views/snippets.xml
index 84acc2346b5..9cbd9d36ccc 100644
--- a/addons/website/views/snippets.xml
+++ b/addons/website/views/snippets.xml
@@ -66,7 +66,7 @@
</p>
</div>
<div class="col-md-6 mt16">
- <img class="img img-responsive shadow mb16" src="/website/static/src/img/text_image.png"/>
+ <img class="img img-responsive shadow mb16" src="/website/static/src/img/text_image.png" alt="Odoo text and image block"/>
</div>
</div>
</div>
@@ -83,7 +83,7 @@
<div class="container">
<div class="row">
<div class="col-md-6 mt16">
- <img class="img img-responsive shadow mb16" src="/website/static/src/img/image_text.jpg"/>
+ <img class="img img-responsive shadow mb16" src="/website/static/src/img/image_text.jpg" alt="Odoo image and text block"/>
</div>
<div class="col-md-6 mt16">
<h3>A Section Subtitle</h3>
@@ -112,7 +112,7 @@
<div class="col-md-12 mb16 mt16">
<div class="o_image_floating o_margin_l pull-right">
<div class="o_container">
- <img class="img img-rounded img-responsive" src="/website/static/src/img/odoo.jpg"/>
+ <img class="img img-rounded img-responsive" src="/website/static/src/img/odoo.jpg" alt="Odoo Members"/>
<mark class="text-center"><a href="#"><strong>Click Here</strong></a></mark>
</div>
<div class="o_footer">
@@ -267,7 +267,7 @@
<h2>A Punchy Headline</h2>
</div>
<div class="col-md-12">
- <img class="img img-responsive" src="/website/static/src/img/big_picture.png" style="margin: 0 auto;"/>
+ <img class="img img-responsive" src="/website/static/src/img/big_picture.png" style="margin: 0 auto;" alt="Odoo CMS - a big picture"/>
</div>
<div class="col-md-6 col-md-offset-3 mb16 mt16">
<p class="text-center">
@@ -296,7 +296,7 @@
<div class="container">
<div class="row">
<div class="col-md-4">
- <img class="img img-rounded img-responsive" src="/website/static/src/img/desert_thumb.jpg"/>
+ <img class="img img-rounded img-responsive" src="/website/static/src/img/desert_thumb.jpg" alt="Odoo - Sample 1 for three columns"/>
<h4 class="mt16">Feature One</h4>
<p>
Adapt these three columns to fit you design need.
@@ -305,7 +305,7 @@
</p>
</div>
<div class="col-md-4">
- <img class="img img-rounded img-responsive" src="/website/static/src/img/deers_thumb.jpg"/>
+ <img class="img img-rounded img-responsive" src="/website/static/src/img/deers_thumb.jpg" alt="Odoo - Sample 2 for three columns"/>
<h4 class="mt16">Feature Two</h4>
<p>
To add a fourth column, reduce the size of these
@@ -315,7 +315,7 @@
</p>
</div>
<div class="col-md-4">
- <img class="img img-rounded img-responsive" src="/website/static/src/img/china_thumb.jpg"/>
+ <img class="img img-rounded img-responsive" src="/website/static/src/img/china_thumb.jpg" alt="Odoo - Sample 3 for three columns"/>
<h4 class="mt16">Feature Three</h4>
<p>
Delete the above image or replace it with a picture
@@ -382,7 +382,7 @@
</div>
<div class="oe_snippet_body o_image_floating o_margin_l pull-right">
<div class="o_container">
- <img class="img img-rounded img-responsive" src="/website/static/src/img/library/ipad.png"/>
+ <img class="img img-rounded img-responsive" src="/website/static/src/img/library/ipad.png" alt="Odoo CMS- Sample image floating"/>
<mark class="text-center"><a href="#"><strong>Click Here</strong></a></mark>
</div>
<div class="o_footer">
@@ -434,28 +434,28 @@
<h4 class="text-muted">More than 500 successful projects</h4>
</div>
<div class="col-md-6">
- <img class="img img-thumbnail img-responsive mb16" src="/website/static/src/img/desert.jpg"/>
+ <img class="img img-thumbnail img-responsive mb16" src="/website/static/src/img/desert.jpg" alt="Odoo CMS - Gallery sample"/>
</div>
<div class="col-md-3">
- <img class="img img-thumbnail img-responsive mb16" src="/website/static/src/img/china_thumb.jpg"/>
+ <img class="img img-thumbnail img-responsive mb16" src="/website/static/src/img/china_thumb.jpg" alt="Odoo CMS - Gallery sample"/>
</div>
<div class="col-md-3">
- <img class="img img-thumbnail img-responsive mb16" src="/website/static/src/img/deers_thumb.jpg"/>
+ <img class="img img-thumbnail img-responsive mb16" src="/website/static/src/img/deers_thumb.jpg" alt="Odoo CMS - Gallery sample"/>
</div>
<div class="col-md-3">
- <img class="img img-thumbnail img-responsive mb16" src="/website/static/src/img/desert_thumb.jpg"/>
+ <img class="img img-thumbnail img-responsive mb16" src="/website/static/src/img/desert_thumb.jpg" alt="Odoo CMS - Gallery sample"/>
</div>
<div class="col-md-3">
- <img class="img img-thumbnail img-responsive mb16" src="/website/static/src/img/china_thumb.jpg"/>
+ <img class="img img-thumbnail img-responsive mb16" src="/website/static/src/img/china_thumb.jpg" alt="Odoo CMS - Gallery sample"/>
</div>
<div class="col-md-3">
- <img class="img img-thumbnail img-responsive mb16" src="/website/static/src/img/deers_thumb.jpg"/>
+ <img class="img img-thumbnail img-responsive mb16" src="/website/static/src/img/deers_thumb.jpg" alt="Odoo CMS - Gallery sample"/>
</div>
<div class="col-md-6">
- <img class="img img-thumbnail img-responsive mb16" src="/website/static/src/img/landscape.jpg"/>
+ <img class="img img-thumbnail img-responsive mb16" src="/website/static/src/img/landscape.jpg" alt="Odoo CMS - Gallery sample"/>
</div>
<div class="col-md-3">
- <img class="img img-thumbnail img-responsive mb16" src="/website/static/src/img/china_thumb.jpg"/>
+ <img class="img img-thumbnail img-responsive mb16" src="/website/static/src/img/china_thumb.jpg" alt="Odoo CMS - Gallery sample"/>
</div>
</div>
</div>
@@ -678,19 +678,19 @@
</blockquote>
</div>
<div class="col-md-2 col-md-offset-1">
- <img src="/website/static/src/img/openerp_logo.png" class="img img-responsive img-thumbnail"/>
+ <img src="/website/static/src/img/openerp_logo.png" class="img img-responsive img-thumbnail" alt="OpenERP logo"/>
</div>
<div class="col-md-2">
- <img src="/website/static/src/img/openerp_logo.png" class="img img-responsive img-thumbnail"/>
+ <img src="/website/static/src/img/openerp_logo.png" class="img img-responsive img-thumbnail" alt="OpenERP logo"/>
</div>
<div class="col-md-2">
- <img src="/website/static/src/img/openerp_logo.png" class="img img-responsive img-thumbnail"/>
+ <img src="/website/static/src/img/openerp_logo.png" class="img img-responsive img-thumbnail" alt="OpenERP logo"/>
</div>
<div class="col-md-2">
- <img src="/website/static/src/img/openerp_logo.png" class="img img-responsive img-thumbnail"/>
+ <img src="/website/static/src/img/openerp_logo.png" class="img img-responsive img-thumbnail" alt="OpenERP logo"/>
</div>
<div class="col-md-2">
- <img src="/website/static/src/img/openerp_logo.png" class="img img-responsive img-thumbnail"/>
+ <img src="/website/static/src/img/openerp_logo.png" class="img img-responsive img-thumbnail" alt="OpenERP logo"/>
</div>
</div>
</div>
diff --git a/addons/website/views/website_templates.xml b/addons/website/views/website_templates.xml
index 917fd0a2f7e..f4a0c41f511 100644
--- a/addons/website/views/website_templates.xml
+++ b/addons/website/views/website_templates.xml
@@ -80,6 +80,7 @@
and main_object.website_meta_description or website_meta_description"/>
<meta name="keywords" t-att-content="main_object and 'website_meta_keywords' in main_object
and main_object.website_meta_keywords or website_meta_keywords"/>
+ <meta name="generator" content="Odoo"/>
<title><t t-esc="title"/></title>
<t t-set="languages" t-value="website.get_languages() if website else None"/>
@@ -163,8 +164,8 @@
Create a <a href="http://www.odoo.com/page/website-builder">free website</a> with
<a class="label label-danger" href="http://www.odoo.com/page/website-builder">Odoo</a>
</div>
- <div class="pull-left text-muted">
- Copyright &amp;copy; <span t-field="res_company.name">Company name</span>
+ <div class="pull-left text-muted" itemscope="itemscope" itemtype="http://schema.org/Organization">
+ Copyright &amp;copy; <span t-field="res_company.name" itemprop="name">Company name</span>
</div>
</div>
</xpath>
@@ -300,7 +301,7 @@
<a t-att-href="website.social_twitter" t-if="website.social_twitter"><i class="fa fa-twitter"/></a>
<a t-att-href="website.social_linkedin" t-if="website.social_linkedin"><i class="fa fa-linkedin"/></a>
<a t-att-href="website.social_youtube" t-if="website.social_youtube"><i class="fa fa-youtube-play"/></a>
- <a t-att-href="website.social_googleplus" t-if="website.social_googleplus"><i class="fa fa-google-plus-square"/></a>
+ <a t-att-href="website.social_googleplus" t-if="website.social_googleplus" rel="publisher"><i class="fa fa-google-plus-square"/></a>
<a t-att-href="website.social_github" t-if="website.social_github"><i class="fa fa-github"/></a>
</h2>
</div>