{% extends "html/resume_base.html" %} {% block sidebar%}

{{ full_name }}

{% if description %}
{% autoescape false %} {{ description }} {% endautoescape %}
{% endif %}

{{ titles["contact"] }}

{% if address %}
{{ contact_icon("address") }}
{% for x in address %}

{{ x }}

{% endfor %}
{% endif %} {% if phone %}
{{ contact_icon("phone") }}

{{ phone }}

{% endif %} {% if email %}
{{ contact_icon("email") }}

{{ email }}

{% endif %} {% if web %}
{{ contact_icon("web") }}

{{ web }}

{% endif %} {% if linkedin %}
{{ contact_icon("linkedin") }}

{{ linkedin }}

{% endif %} {% if github %}
{{ contact_icon("github") }}

{{ github }}

{% endif %}
{% if skills %}

{{ titles["skills"] or "Skills" }}

{% for name, value in skills.items() %} {% set normalized_value = (value / 100.0) * (resume_config.get('sidebar_width', 65) - 2*resume_config.get('padding', 12)) %}

{{ name }}

{% endfor %}
{% endif %} {% if certification %}

{{ titles["certification"] }}

{% set available_width = resume_config.get('sidebar_width', 65) - resume_config.get('sidebar_padding_left', 10) - resume_config.get('sidebar_padding_right', 10) %} {{ render_sidebar_entries(certification, available_width, 9, 7) }}
{% endif %} {% if languages %}

{{ titles["languages"] or "Languages" }}

{% for name, value in languages.items() %} {% set normalized_value = (value / 100.0) * (resume_config.get('sidebar_width', 65) - 2*resume_config.get('padding', 12)) %}

{{ name }}

{% endfor %}
{% endif %} {% if expertise_groups %}

{{ titles["expertise"] }}

{% for group in expertise_groups %} {% if group.title %}

{{ group.title }}

{% endif %} {% for item in group["items"] %}

{{ item }}

{% endfor %}
{% endfor %}
{% endif %} {% if programming_groups %}

{{ titles["programming"] }}

{% for group in programming_groups %} {% if group.title %}

{{ group.title }}

{% endif %} {% set available_width = resume_config.get('sidebar_width', 65) - resume_config.get('sidebar_padding_left', 10) - resume_config.get('sidebar_padding_right', 10) %} {{ render_sidebar_entries(group["items"], available_width, 9, 7) }}
{% endfor %}
{% endif %} {% if keyskills_groups %}

{{ titles["keyskills"] }}

{% for group in keyskills_groups %} {% if group.title %}

{{ group.title }}

{% endif %} {% for item in group["items"] %}

{{ item }}

{% endfor %}
{% endfor %}
{% endif %} {% endblock %} {% block body%} {% for name, block_data in body.items() %}

{{ section_icon_inline(name) }} {{ name }}

{% for data in block_data %}

{{ data["end"] }}

{% if data["start"] %}

{{ data["start"] }}

{% endif %}
{% set heading_width_mm = resume_config.get("page_width", 210) - resume_config.get("sidebar_width", 65) - resume_config.get("padding", 12) - resume_config.get("date_container_width", 15) - 3 - resume_config.get("description_container_padding_left", 4) - 1 %} {% set title_text = data["title"] | default("", true) %} {% set company_text = data["company"] | default("", true) %} {% set combined_text = title_text ~ " " ~ company_text %} {% set combined_text_length = (title_text | length) + (company_text | length) + 1 %} {% if combined_text_length > 75 %} {# Very long (75+): aggressive reduction #} {% set combined_font_size = dynamic_font_size(combined_text, heading_width_mm * 0.65, 11.5, 7.0) or "11.5pt" %} {% elif combined_text_length > 55 %} {# Long (55-75): moderate reduction #} {% set combined_font_size = dynamic_font_size(combined_text, heading_width_mm * 0.72, 11.5, 7.5) or "11.5pt" %} {% elif combined_text_length > 45 %} {# Medium (45-55): light reduction #} {% set combined_font_size = dynamic_font_size(combined_text, heading_width_mm * 0.80, 11.5, 8.5) or "11.5pt" %} {% else %} {# Short: standard sizing #} {% set combined_font_size = dynamic_font_size(combined_text, heading_width_mm * 0.90, 11.5, 9.0) or "11.5pt" %} {% endif %} {% set title_font_size = combined_font_size %} {% set company_font_size = combined_font_size %} {% set title_font_numeric = (title_font_size | replace("pt", "") | float) %} {% set title_line_height = "1.2" %} {% set margin_bottom = "2px" %} {% if title_font_numeric <= 9 %} {% set title_line_height = "1.1" %} {% set margin_bottom = "0px" %} {% endif %} {% set theme_color = resume_config.get("theme_color", "#0395DE") %} {% set company_color = theme_color %} {% set company_link_color = theme_color %} {% if theme_color.startswith('#') %} {% set hex_color = theme_color[1:] %} {% if hex_color|length == 3 %} {% set r = (hex_color[0:1] * 2) | int(base=16) %} {% set g = (hex_color[1:2] * 2) | int(base=16) %} {% set b = (hex_color[2:3] * 2) | int(base=16) %} {% elif hex_color|length == 6 %} {% set r = hex_color[0:2] | int(base=16) %} {% set g = hex_color[2:4] | int(base=16) %} {% set b = hex_color[4:6] | int(base=16) %} {% else %} {% set r = 0 %} {% set g = 0 %} {% set b = 0 %} {% endif %} {% set luminance = (0.299 * r + 0.587 * g + 0.114 * b) / 255 %} {% if luminance >= 0.5 %} {% set company_color = "#2c3e50" %} {% set company_link_color = "#2c3e50" %} {% endif %} {% else %} {# Fallback for non-hex colors #} {% set company_color = "#2c3e50" %} {% set company_link_color = "#2c3e50" %} {% endif %}
{% if data["description"] %}

{% else %}

{% endif %} {% if data["title_link"] %}{% endif %} {{ data["title"] }} {% if data["title_link"] %}{% endif %} {% if data["description"] %}

{% else %}

{% endif %}
{% if company_text %}
{% if data["company_link"] %}{% endif %} {{ data["company"] }} {% if data["company_link"] %}{% endif %}
{% endif %}
{% if data["description"] %}
{% autoescape false %} {{ data["description"] }} {% endautoescape %}
{% endif %}
{% if data.get("tech_stack") %}

Tech Stack

{{ data["tech_stack"] }}

{% endif %} {% set activities = data.get("activities") %} {% if name | lower == "education" and activities %}

Activities

{% if activities is string %} {{ activities }} {% else %} {{ activities | join(", ") }} {% endif %}

{% endif %}
{% endfor %}
{% endfor %} {% endblock %}