summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2015-11-26 20:33:05 -0500
committerluxagraf <sng@luxagraf.net>2015-11-26 20:33:05 -0500
commit0d64a2b15c605e5231d3afac87a2af060cfa91db (patch)
treefe3a72e500c0e31d200c276f71924d88444bf280
parent75add1c54b5bb708765687ad90f6ad11b380e4f2 (diff)
added open graph and twitter tags to book pages
-rw-r--r--design/templates/details/src_book.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/design/templates/details/src_book.html b/design/templates/details/src_book.html
index bc12ebf..a06c28b 100644
--- a/design/templates/details/src_book.html
+++ b/design/templates/details/src_book.html
@@ -2,6 +2,24 @@
{% load typogrify_tags %}
{%block bodyid%}id="book-page"{%endblock%}
{%block metadescription%}Buy the Book: {{object.title}}{%endblock%}
+{%block extrahead%}
+ <meta property="og:type" content="book"/>
+ <meta property="og:title" content="{{object.title}}"/>
+ <meta property="og:url" content="{{object.get_absolute_url}}"/>
+ <meta property="og:description" content="It's time to stop fighting the web's flexible nature. Discover how simple tools like CSS media queries, fluid layouts and flexible media can transform your website from fixed-width failure to responsive success."/>
+ <meta property="book:prelease_date" content="{{object.pub_date}}"/>
+ <meta property="book:author" content="Scott Gilbertson"/>
+ <meta property="og:site_name" content="luxagraf:src"/>
+ <meta property="og:image" content="{{object.get_image_url}}"/>
+ <meta property="og:locale" content="en_US"/>
+ <meta name="twitter:card" content="summary_large_image"/>
+ <meta name="twitter:description" content="It's time to stop fighting the web's flexible nature. Discover how simple tools like CSS media queries, fluid layouts and flexible media can transform your website from fixed-width failure to responsive success."/>
+ <meta name="twitter:title" content="{{object.title}}"/>
+ <meta name="twitter:site" content="@luxagraf"/>
+ <meta name="twitter:domain" content="luxagraf"/>
+ <meta name="twitter:image:src" content="{{object.get_image_url}}"/>
+ <meta name="twitter:creator" content="@luxagraf"/>
+{%endblock%}
{%block pagetitle%}{{object.title}} | Books | luxagraf:src{%endblock%}
{% block primary %}<ul class="bl" id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> &rarr; </li>