{{ current_tag }}
{{ total_posts | pluralize('post', 'posts') }} tagged with "{{ current_tag }}"
No posts found with this tag.
{% end %}{% extends "base.html" %} {# ================================================================================ Single Tag Page Template (Kida-Native) ================================================================================ Displays all posts with a specific tag. KIDA FEATURES USED: - {% let %} for template-scoped variables - Optional chaining (?.) for null-safe access - Null coalescing (??) for smart defaults USAGE: Auto-generated for each tag in the site ================================================================================ #} {% from 'partials/components/article.html' import article_card %} {% from 'partials/navigation-components.html' import pagination %} {% block content %} {# Template-scoped variables #} {% let current_tag = tag ?? '' %} {% let tag_posts = posts ?? [] %} {% let tag_posts_count = tag_posts | length %} {% let total_posts = total_posts ?? tag_posts_count %} {% let total_pages = total_pages ?? 1 %} {% let current_page = current_page ?? 1 %} {% let base_url = base_url ?? tag_url(current_tag) %} {# Two-column layout similar to docs #}
{{ total_posts | pluralize('post', 'posts') }} tagged with "{{ current_tag }}"
No posts found with this tag.
{% end %}