[gimp-web/testing] Adding description microdata to template



commit ac500a9fb6ed01bbb8179662f7264cbbc4dbf898
Author: Pat David <patdavid gmail com>
Date:   Thu Jan 14 14:30:54 2016 -0600

    Adding description microdata to template

 themes/newgimp/templates/article.html |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/themes/newgimp/templates/article.html b/themes/newgimp/templates/article.html
index a4d40b9..716e469 100644
--- a/themes/newgimp/templates/article.html
+++ b/themes/newgimp/templates/article.html
@@ -38,6 +38,11 @@
     {% endfor %}
     {% endif %}
 
+    {% if article.summary %}
+    <meta itemprop='description' content='{{ article.summary }}' />
+    <meta property='og:description' content='{{ article.summary }}' />
+    {% endif %}
+
 
 {% endblock head %}
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]