summaryrefslogtreecommitdiff
path: root/design
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2015-12-01 22:32:55 -0500
committerluxagraf <sng@luxagraf.net>2015-12-01 22:32:55 -0500
commiteaa66a20d68b358a77c4cf14d175a814afc4589d (patch)
tree652a876d7bd91b98929148a62b954a537d63c107 /design
parent4780d4732db8c76e987a23cf05e722bcee189e05 (diff)
added open graph tags to src detail pages
Diffstat (limited to 'design')
-rw-r--r--design/templates/details/src_entry.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/design/templates/details/src_entry.html b/design/templates/details/src_entry.html
index e27133a..c57cf45 100644
--- a/design/templates/details/src_entry.html
+++ b/design/templates/details/src_entry.html
@@ -7,6 +7,20 @@
{% block bodyid %}class="src"{% endblock %}
{% block metadescription %}{% autoescape on %}{{object.meta_description|striptags|safe}}{% endautoescape %}{% endblock %}
{%block extrahead%}
+ <meta property="og:type" content="article" />
+ <meta property="og:site_name" content="luxagraf:src"/>
+ <meta property="og:title" content="{{object.title|safe}}" />
+ <meta property="og:url" content="https://luxagraf.net{{object.get_absolute_url}}" />
+ <meta property="og:image" content="">
+ <meta property="og:description" content="{{object.meta_description}}" />
+ <meta property="article:published_time" content="{{object.pub_date|date:'c'}}" />
+ <meta property="article:author" content="Luxagraf" />
+ <meta property="og:site_name" content="Luxagraf:src" />
+ <meta property="og:locale" content="en_US" />
+ <meta name="twitter:card" content="summary_large_image"/>
+ <meta name="twitter:site" content="@luxagraf"/>
+ <meta name="twitter:creator" content="@luxagraf"/>
+
<link rel="stylesheet" href="/media/src/solarized.css" type="text/css" media="screen"/>
{%endblock%}
{% block primary %}<ul class="bl" id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">