Commit 3e79e915 authored by Antonin's avatar Antonin

SEO and TODO update

parent ee2f4338
......@@ -5,11 +5,11 @@ sonata_seo:
encoding: UTF-8
page:
default: sonata.seo.page.default
title: Sonata Project
title: L'Amicale du Combat Libre
metas:
name:
keywords: foo bar
description: The description
keywords: amicale combat libre lyon convivialité
description: L'Amicale du Combat Libre : une approche conviviale des sports de combat.
robots: index, follow
property:
......@@ -19,8 +19,8 @@ sonata_seo:
# Open Graph information
# see http://developers.facebook.com/docs/opengraphprotocol/#types or http://ogp.me/
'og:site_name': Sonata Project Sandbox
'og:description': A demo of the some rich bundles for your Symfony2 projects
'og:site_name': L'Amicale du Combat Libre
'og:description': "L'Amicale du Combat Libre : une approche conviviale des sports de combat."
http-equiv:
'Content-Type': text/html; charset=utf-8
......@@ -37,7 +37,3 @@ sonata_seo:
- { connection: doctrine.dbal.default_connection, route: sonata_news_view, parameters: {permalink: null}, query: "SELECT CONCAT_WS('/', YEAR(created_at), MONTH(created_at), DAY(created_at), slug) as permalink , updated_at as lastmod, 'weekly' as changefreq, '0.5' as prioriy FROM news__post WHERE enabled = 1 AND (publication_date_start IS NULL OR publication_date_start <= NOW())" }
# page - works only for one site, please adapt the code if required
- { connection: doctrine.dbal.default_connection, route: page_slug, parameters: {path: null}, query: "SELECT url as path, updated_at as lastmod, 'weekly' as changefreq, '0.5' as prioriy FROM page__snapshot WHERE route_name = 'page_slug' AND enabled = 1 AND (publication_date_start IS NULL OR publication_date_start <= NOW())" }
# product categories
- { connection: doctrine.dbal.default_connection, route: sonata_catalog_category, parameters: {category_id: null, category_slug: null}, query: "SELECT id as category_id, slug as category_slug, updated_at as lastmod, 'weekly' as changefreq, '0.5' as prioriy FROM classification__category WHERE enabled = true" }
# products
- { connection: doctrine.dbal.default_connection, route: sonata_product_view, parameters: {productId: null, slug: null}, query: "SELECT id as productId, slug, updated_at as lastmod, 'weekly' as changefreq, '0.5' as prioriy FROM product__product WHERE enabled = true" }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment