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

Unified Diff: templates/default.tmpl

Issue 29375829: Issue 4899 - set template META description on eyeo.com (Closed)
Patch Set: Deleted Space and added slash Created March 8, 2017, 11:06 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: templates/default.tmpl
diff --git a/templates/default.tmpl b/templates/default.tmpl
index 9026714b4f9392e1bfc9e7f1f8fd3a0d0e0da63f..1b3b87bd95f5873954b44cfd60becdfb45bdf91a 100644
--- a/templates/default.tmpl
+++ b/templates/default.tmpl
@@ -1,9 +1,17 @@
<!DOCTYPE html>
<html lang="{{locale}}">
<head>
+ {# 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 #}
+ {% if description %}
+ <meta name="description" content="{{ description }}">
+ {% endif %}
+
+ {# http://ogp.me/ #}
<meta property="og:image" content="{{og_image if og_image else 'https://eyeo.com/images/eyeo-meta-default.png'}}">
{% if title %}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld