diff options
author | luxagraf <sng@luxagraf.net> | 2015-11-26 20:33:05 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-11-26 20:33:05 -0500 |
commit | 0d64a2b15c605e5231d3afac87a2af060cfa91db (patch) | |
tree | fe3a72e500c0e31d200c276f71924d88444bf280 /design/templates | |
parent | 75add1c54b5bb708765687ad90f6ad11b380e4f2 (diff) |
added open graph and twitter tags to book pages
Diffstat (limited to 'design/templates')
-rw-r--r-- | design/templates/details/src_book.html | 18 |
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> → </li> |