Skip to content
Snippets Groups Projects
Commit 33330f13f586 authored by Cédric Krier's avatar Cédric Krier :atom:
Browse files

Add description and keywords on most pages

parent 8578d550326d
No related branches found
No related tags found
No related merge requests found
{% set title = "Get Involved" %} {% set title = "Get Involved" %}
{% set description = "Join the Tryton community and help the project" %} {% set description = "Join the Tryton community and help the project" %}
{% set keywords = ["community", "project"] %}
{% set toc = [ {% set toc = [
("Donate", 'donate', None), ("Donate", 'donate', None),
("Help Users", 'support', None), ("Help Users", 'support', None),
......
{% set title = "How to Develop" %} {% set title = "How to Develop" %}
{% set description = "How to develop for Tryton" %}
{% set keywords = ["development", "mercurial", "codereview", "patch" ] %}
{% set toc = [ {% set toc = [
("Report an Issue", 'report-issue', None), ("Report an Issue", 'report-issue', None),
("Submit a Change", 'submit-change', [ ("Submit a Change", 'submit-change', [
......
{% set title = "Donate" %} {% set title = "Donate" %}
{% set descending = "Help the Tryton project to achieve its goals" %} {% set description = "Help the Tryton project to achieve its goals" %}
{% set keywords = ["help", "donation", "contribute"] %}
{% set toc = [ {% set toc = [
("Wire Transfer", 'wire-transfer', None), ("Wire Transfer", 'wire-transfer', None),
("PayPal", 'paypal', None), ("PayPal", 'paypal', None),
......
{% set title = "Get Tryton" %} {% set title = "Get Tryton" %}
{% set description = "How to download and install Tryton" %}
{% set keywords = ["download", "install"] %}
{% set toc = [ {% set toc = [
("Demo", 'demo', None), ("Demo", 'demo', None),
("Docker Image", 'docker', None), ("Docker Image", 'docker', None),
......
{% set title = "Unconference Marseille - June 4th-7th, 2019" %} {% set title = "Unconference Marseille - June 4th-7th, 2019" %}
{% set description = "Tryton Unconference at Marseille" %}
{% set keywords = ["conference", "meeting", "event"] %}
{% set logo = 'images/events/tum2019-logo.png' %} {% set logo = 'images/events/tum2019-logo.png' %}
{% set banner = 'tum2019-banner.svg' %} {% set banner = 'tum2019-banner.svg' %}
{% macro location() %} {% macro location() %}
......
{% set title = "Forum" %} {% set title = "Forum" %}
{% set description = "Participate to the community and get help" %}
{% set keywords = ["forum", "help", "community"] %}
{% set toc = [ {% set toc = [
("Forum", 'discuss', None), ("Forum", 'discuss', None),
("IRC", 'irc', None), ("IRC", 'irc', None),
......
{% set title = "Foundation" %} {% set title = "Foundation" %}
{% set description = "The Tryton Foundation aims to protect, promote and develop Tryton as Free Software" %} {% set description = "The Tryton Foundation aims to protect, promote and develop Tryton as Free Software" %}
{% set keywords = ["foundation", "board", "bylaws"] %}
{% extends "layout.html" %} {% extends "layout.html" %}
{% from "utils.html" import background %} {% from "utils.html" import background %}
{% block style %} {% block style %}
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/> <meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="description" content="{{ description }}"/> <meta name="description" content="{{ description }}"/>
<meta name="keywords" content="{{ ((keywords or []) + ["tryton", "open source", "free software", "business software", "erp"]) | join(', ') }}"/>
<meta name="author" content="Tryton"/> <meta name="author" content="Tryton"/>
<meta property="og:title" content="{{ title }}"/> <meta property="og:title" content="{{ title }}"/>
<meta property="og:type" content="website"/> <meta property="og:type" content="website"/>
......
{% set title = "Presentations & Papers" %} {% set title = "Presentations & Papers" %}
{% set description = "All the presentations of Tryton" %}
{% set keywords = ["presentation", "paper", "video", "slide"] %}
{% set toc = [ {% set toc = [
("TUM2019", 'TUM2019', None), ("TUM2019", 'TUM2019', None),
("PyConFr 2018", 'PyConFr2018', None), ("PyConFr 2018", 'PyConFr2018', None),
......
{% set title = "Service Providers" %} {% set title = "Service Providers" %}
{% set description = "List of companies providing service on Tryton" %}
{% set keywords = ["service", "company", "support" ] %}
{% extends "layout.html" %} {% extends "layout.html" %}
{% block content %} {% block content %}
{{ super() }} {{ super() }}
......
{% set title = "Become a Service Provider" %} {% set title = "Become a Service Provider" %}
{% set description = "How to be listed as service provider" %}
{% set keywords = ["service", "company", "support" ] %}
{% set toc = [ {% set toc = [
("Contribute", 'contribute', None), ("Contribute", 'contribute', None),
("Request Listing", 'listing', None), ("Request Listing", 'listing', None),
......
{% set title = "Success Stories" %} {% set title = "Success Stories" %}
{% set description = "List of Tryton's success stories" %}
{% set keywords = ["sucess story", "review", "case study" ] %}
{% extends "layout.html" %} {% extends "layout.html" %}
{% from "utils.html" import background %} {% from "utils.html" import background %}
{% block style %} {% block style %}
......
{% set title = "Expertise Vision" %} {% set title = "Expertise Vision" %}
{% set description = "Success story of Expertise Vision implementing Tryton" %}
{% set keywords = ["success story", "review", "case study"] %}
{% set banner = "expertise-vision/banner.jpg" %} {% set banner = "expertise-vision/banner.jpg" %}
{% extends "success_stories/layout.html" %} {% extends "success_stories/layout.html" %}
{% block customer %} {% block customer %}
......
{% set title = "Supporters" %} {% set title = "Supporters" %}
{% set description = "List of foundation supporters" %}
{% set keywords = ["foundation", "supporters"] %}
{% extends "layout.html" %} {% extends "layout.html" %}
{% block content %} {% block content %}
{{ super() }} {{ super() }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment