{{ post_title }}
{% if post_date %} {% end %} {% if post_content %}{{ post_excerpt }}
{% end %}{% extends "base.html" %}
{#
================================================================================
Generic Post Template (Kida-Native)
================================================================================
Default template for blog posts and articles.
KIDA FEATURES USED:
- {% let %} for template-scoped variables
- Optional chaining (?.) for null-safe access
- Null coalescing (??) for smart defaults
- {% def %} for reusable components
USAGE:
Auto-selected for posts without a specific type
================================================================================
#}
{% from 'partials/navigation-components.html' import breadcrumbs %}
{% from 'partials/components/tags.html' import tag_list %}
{# =============================================================================
RELATED POST CARD COMPONENT
============================================================================= #}
{% def related_card(post) %}
{% let post_title = post?.title ?? 'Untitled' %}
{% let post_href = post?.href ?? '#' %}
{% let post_date = post?.date %}
{% let post_excerpt = post?.excerpt ?? '' %}
{% let post_content = post?.content ?? '' %}
{{ post_excerpt }}{{ post_title }}
{% if post_date %}
{% end %}
{% if post_content %}