1
{% extends "base.html" %}
4
{% block page_name %}{{ article.title }}{% endblock %}
6
{% block extrahead %}{{ block.super }}
7
<meta property="fb:app_id" content="127188230723188"/>
8
<meta property="og:title" content="{{ article.title }}" />
9
<meta property="og:description" content="{{ article.description|linebreaks|striptags }}" />
10
<meta property="og:url" content="http://loco.ubuntu.com{{ article.get_absolute_url }}"/>
11
<meta property="og:image" content="http://loco.ubuntu.com/media/images/cof_orange_hex1.png"/>
12
<meta property="og:site_name" content="Loco Team Portal"/>
13
<meta property="og:type" content="article"/>
19
<section class="span-9">
20
<article class="blog-entry">
21
{% if article.source.team %}
22
<img class="blog-entry-image" src="{{ article.source.team.mugshot_url }}" />
24
{% if article.source.user %}
25
<img class="blog-entry-image" src="{{ article.source.user.mugshot }}" />
28
<h4 class="blog-entry-title"><a href="{{ article.link }}" target="_blank">{{ article.title }}</a></h4>
29
<div class="blog-entry-author">
30
{% if article.source.team %}
31
<a class="team" href="{% url team-detail article.source.team %}" target="_blank">{{ article.source.team.name }}</a>
33
{% if article.source.user %}
34
{% if article.source.team %}, {% endif %}
35
<a class="user" href="{% url profile-detail article.source.user.user.username %}" target="_blank">{{ article.source.user }}</a>
39
<div id="fb-root"></div>
40
<script>(function(d, s, id) {
41
var js, fjs = d.getElementsByTagName(s)[0];
42
if (d.getElementById(id)) {return;}
43
js = d.createElement(s); js.id = id;
44
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=127188230723188";
45
fjs.parentNode.insertBefore(js, fjs);
46
}(document, 'script', 'facebook-jssdk'));</script>
47
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
48
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
49
<g:plusone size="medium"></g:plusone>
50
<a href="http://twitter.com/share" class="twitter-share-button" data-lang="en">Tweet</a>
51
<div class="fb-like" data-href="http://loco.ubuntu.com{{ article.get_absolute_url }}" data-send="false" data-layout="button_count" data-width="40" data-show-faces="false" data-font="arial"></div>
53
<div class="blog-entry-text">
56
{{ article.content|safe }}
60
<a href="{{ article.link }}" target="_blank">{% trans 'Read the original post' %} ›</a>