{#- THE PUBLIC PAGE of one Kennel Card view (modules/kennelcard/site.py). Stands alone: no base.html, no app chrome, nothing loaded from anywhere — CSS and JS are inlined and the CSP says so. -#} {{ title }}
{%- if banner %} {#- only when this box shows ANOTHER pup's card it read (reader.py) — never on a published page #} {%- endif %} {%- if p.tag or p.avatar %}
{%- if p.avatar %}{% endif %}

{{ title }}{% if p.tag and p.tag.pronouns %} {{ p.tag.pronouns }}{% endif %}

{%- if p.tag and p.tag.bio %}

{{ p.tag.bio }}

{% endif %} {%- if p.tag and p.sign and p.pup_id %}

🔏 Pup ID {{ p.pup_id }}

{% endif %}
{%- endif %} {%- if p.links %} {%- endif %} {%- if p.stats %}

📊 Stats

{%- for s in p.stats %}
{{ s.label }}
{{ s.value }}
{% endfor %}
{%- endif %} {%- set sections = [("toybox", "🦴 Toy box", p.toybox), ("wishlist", "✨ Wishlist", p.wishlist), ("retired", "🏅 Retired — served well", p.retired)] %} {%- set any_items = p.toybox or p.wishlist or p.retired %} {%- if any_items %} {%- endif %} {%- for key, heading, cards in sections if cards %}

{{ heading }}

{%- if key == "wishlist" %}

Things this pup would love. The links go to shops — buying is between you and them.

{% endif %}
{%- for c in cards %}
{%- if c.photos %}{% else %}{% endif %} {% if c.favourite %}⭐ {% endif %}{% if c.handler and c.handler.star %}🐾 {% endif %}{{ c.name }} {{ c.icon }} {{ c.category }}{% if c.priority %} · {{ c.priority }}{% endif %}
{%- if c.photos %}
{%- for ph in c.photos %}{{ c.name }} — photo {{ loop.index }}{% endfor %}
{%- endif %} {%- if c.blurb %}

{{ c.blurb }}

{% endif %} {%- if c.handler %}{% if c.handler.star %}

🐾 my Handler's pick

{% endif %} {%- for n in c.handler.notes %}

🐾 my Handler: “{{ n }}”

{% endfor %}{% endif %} {%- if c.specs %}
{%- for s in c.specs %}
{{ s.label }}
{% if s.mm %}{{ s.inch }}{{ s.mm }}{% else %}{{ s.value }}{% endif %}
{% endfor %}
{%- endif %} {%- if c.price %}

{{ c.price }}

{% endif %} {%- if c.shop %}

🛒 {{ c.shop.label }} {%- if c.shop.referral %} referral link{% endif %}

{%- endif %}
{%- endfor %}
{%- endfor %} {%- if p.trophies %}

🏆 Trophy case

Each badge is the pup's own word, from a paper their Pup ID signed when they earned it.

{%- endif %}