Source

byteflow-pyo / themes / simpyo / blog / post_detail.html

Full commit
{% extends "base.html" %}

{% load i18n %}
{% load pytils_dt %}
{% load pytils_numeral %}
{% load discussion_tags %}
{% load theme %}

{% block title %}{{ object.name }}{% endblock %}

{% block extrahead %}
{% global_css "highlight" %}
{% global_js "highlight.pack" %}
{% global_js "comments" %}
<script type="text/javascript">initHighlightingOnLoad('html', 'css', 'python');</script>
{% global_js "jquery.form" %}
{% global_js "ajaxforms" %}
{% ifequal settings.CAPTCHA "recaptcha" %}<script type="text/javascript" src="http://api.recaptcha.net/js/recaptcha_ajax.js"></script>{% endifequal %}
<link rel="alternate" type="application/rss+xml" title="{{ settings.BLOG_NAME }}: comments on {{ object.name }} feed" href="{% url feed feedurl %}" />
<link rel="pingback" href="http://{{ site.domain }}{% url xmlrpc %}" />
{% endblock %}

{% block content %}
{% include "blog/post_entry.html" %}

<div class="ff-comment-link comments" id="ff-comment-link-to"><a href="#">Комментарии на FriendFeed</a></div>

{% block pingbacks %}
{% if object.pingback_count %}
<div id="pingbacks"><h2>{% trans "Pingbacks" %}</h2>
  {% for pingback in object.pingbacks.all %}
  {% include "blog/pingback.html" %}
  {% endfor %}
</div>
{% endif %}
{% endblock %}
<script>
putFFUrl('http://pyobject.ru{{ object.get_absolute_url }}', '{{ settings.FRIENDFEED_USER }}', '#ff-comment-link-to')
</script>
{% endblock %}