{% extends "base.html" %} {% from "chirpui/badge.html" import badge %} {% from "chirpui/layout.html" import cluster, container, grid, section_header, stack %} {% from "chirpui/description_list.html" import description_list %} {% from "chirpui/label_overline.html" import label_overline %} {% from "chirpui/metric_grid.html" import metric_grid, metric_card %} {% from "chirpui/profile_header.html" import profile_header %} {% from "chirpui/rendered_content.html" import rendered_content %} {% from "chirpui/surface.html" import surface %} {% from "chirpui/timeline.html" import timeline, timeline_item %} {% from "partials/taxonomy-pages.html" import social_links %} {# ================================================================================ Resume / CV — data-driven (Kida-Native) ================================================================================ Renders a structured resume from YAML data rather than prose markdown. Composes existing chirp-ui components: profile_header, metric_grid, section_header, timeline, surface, badge, description_list, plus stack/cluster/grid primitives. DATA SOURCE (first match wins): 1. page front-matter `resume:` block (per-page authoring — used by the example) 2. `site.data.resume` (global data file, mirrors the original Bengal theme) 3. flat page front-matter (`headline`, `summary`, `social`, … as a fallback) SCHEMA (all sections optional): name, headline, location contact: { email, phone, website, github, linkedin } social: { website, github, linkedin, email } (alias for contact links) summary: str metrics: [ { value, label, icon? } ] experience: [ { role|title, org|company, start|start_date, end|end_date, location?, summary|description?, highlights[]?, tech|technologies[]? } ] projects: [ { name, role?, date?, url?, github?, demo?, summary|description?, highlights[]?, tech|technologies[]? } ] skills: [ { category|name, items[] } ] education: [ { degree, institution, start|start_date, end|end_date, location?, gpa?, honors[]?, coursework[]? } ] certifications: [ { name, issuer?, date?, url? } ] awards: [ { name, issuer?, date?, description? } ] languages: [ { language, proficiency } ] volunteer: [ { role, organization, start|start_date, end|end_date, description? } ] USAGE: set `template: resume/single.html` (or `type: resume`) in front-matter. ================================================================================ #} {# --------------------------------------------------------------------------- Experience / education / volunteer entry — composes timeline_item --------------------------------------------------------------------------- #} {% def resume_timeline_entry(role, org, dates, location="", summary="", highlights=none, tech=none) %} {% let entry_highlights = highlights ?? [] %} {% let entry_tech = tech ?? [] %} {% call timeline_item(role, dates) %} {% slot content %} {% if org or location %}
{% if org %}{{ org }}{% end %} {% if location %}{{ location }}{% end %}
{% end %} {% if summary %}{{ summary }}
{% end %} {% if entry_highlights is iterable and entry_highlights is not string and entry_highlights | length > 0 %}{{ r_headline }}
{% end %} {% end %} {% slot stats %} {% if r_location %}{{ badge(r_location, variant="muted", icon="compass") }}{% end %} {% end %} {% slot actions %} {{ social_links(r_social) }} {% end %} {% end %} {# ---- Summary --------------------------------------------------------- #} {% if r_summary %} {% call surface(variant="muted", cls="chirp-theme-resume-summary") %}{{ r_summary }}
{% end %} {% end %} {# ---- Metrics / at-a-glance ------------------------------------------- #} {% if r_metrics | length > 0 %} {% call metric_grid(cols=(r_metrics | length if (r_metrics | length) < 4 else 4), gap="md", cls="chirp-theme-resume-metrics") %} {% for metric in r_metrics %} {{ metric_card(value=(metric?.value ?? ""), label=(metric?.label ?? ""), icon=(metric?.icon ?? none)) }} {% end %} {% end %} {% end %} {# ---- Experience ------------------------------------------------------ #} {% if r_experience | length > 0 %}{{ project?.summary ?? project?.description }}
{% end %} {% if project_highlights | length > 0 %}{{ award.description }}
{% end %} {% end %} {% end %} {% end %}