All pastes #85794 Raw Edit

pyd

public text v1 · immutable
·published 2006-07-12 04:49 UTC
rendered paste body
{% extends "base.html" %}

{% block title %}{{ item.title }}{% endblock %}
{% block metadescription %}{{ item. }}{% endblock %}
{% block metakeywords %}{{ item. }}{% endblock %}

{% block content %}

<h2>{{ item.item_name }}</h2>

<p>{{ item.description }}</p>

{% if nearby_items_list %}
    {% for item in nearby_items_list %}
        <h3><a href="{{ item.get_absolute_url }}">{{ item.item_name }}</a></h3>
        <p>{{ item.description|truncatewords:"30" }}</p>
    {% endfor %}
{% else %}
    <p>No results.</p>
{% endif %}