Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: includes/meta.tmpl

Issue 29375829: Issue 4899 - set template META description on eyeo.com (Closed)
Patch Set: Created Feb. 16, 2017, 11:43 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | templates/default.tmpl » ('j') | templates/default.tmpl » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: includes/meta.tmpl
diff --git a/includes/meta.tmpl b/includes/meta.tmpl
new file mode 100644
index 0000000000000000000000000000000000000000..9f076c8434941bf7e2e39e19f09034f344566098
--- /dev/null
+++ b/includes/meta.tmpl
@@ -0,0 +1,11 @@
+{# HTML5 essentials #}
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" />
+<meta http-equiv="X-UA-Compatible" content="IE=edge">
+
+{# HTML5 meta #}
+<meta name="title" content="{{ title | translate('page-title', 'Page Title') }}">
juliandoucette 2017/02/21 15:20:14 Title is already included in templates/default.tmp
erick 2017/02/28 12:46:41 Done.
+<meta name="description" content="{{ description if description else 'eyeo features a host of products, all of which are geared toward giving users more control and more information about their online experience.' | translate('page-description', 'Page description') }}">
+
+{# http://ogp.me/ #}
+<meta property="og:image" content="{{og_image if og_image else 'https://eyeo.com/images/eyeo-meta-default.png'}}">
« no previous file with comments | « no previous file | templates/default.tmpl » ('j') | templates/default.tmpl » ('J')

Powered by Google App Engine
This is Rietveld