<commit_before>{% extends "layout.html" %}

{% set has_bills = PersonController.bills_of(person).limit(1).all() %}
{% set party_history = PersonController.party_history(person) %}

{% block title %}
{{person.name|translit(type='name')}}{% if person.cur_party.name %} ({{person.cur_party.name|translit(type='party')}}){% endif %}{% if person.last_elected_no %}, {{gettext('Member of %(last_elected_no)dth National Assembly,', last_elected_no=person.last_elected_no)}}{% endif %} - {{super()}}
{% endblock %}

{% block meta_headers %}
<meta property="og:title" content="{{ person.name|translit(type='name') }} - 대한민국 정치의 모든 것" />
<meta property="og:image" content="{{ person.image|default(url_for('static', filename='images/default_profile.jpg'), True) }}" />
<meta property="og:description" content="{% if person.birthday %}{{ person.birthday[:4] }}년생. {% endif %}{% if person.cur_party.name %}{{ person.cur_party.name|translit(type='party') }} 소속.{% endif %}" />
{% endblock %}

{% block breadcrumb_current %}
{{ person.name|translit(type='name') }}
{% endblock %}

{% block extra_headers %}
{{ super() }}
{% if not mobile %}
    {# TODO: get rid of person.less #}
    {% assets filters='less', output='build/person.%(version)s.css',
        depends=['**/*.less'], 'less/person.less' %}
    <link rel="stylesheet" href="{{ASSET_URL}}">
    {% endassets %}
{% endif %}
{% endblock %}

{% block content %}
<div id="person-view" class="view">
    <div class="grad entity-header">
        {{ widgets.card(person, detailed=True)|safe }}
        {% include 'social.html' %}
    </div>
    <div id="person-sections" class="sections">
        <div id="section-profile" class="section">
            <h3 id="profile">
                {{ gettext('profile') }}
                <span class="comment down-10"><i class="icon-exclamation-sign"></i>{{ gettext('Data in this section is based on latest election records, and therefore can be outdated.') }}</span>
            </h3>
            <table id="person-profile" class="table table-condensed"><commit_msg>Modify meta title for person<commit_after>{% extends "layout.html" %}

{% set has_bills = PersonController.bills_of(person).limit(1).all() %}
{% set party_history = PersonController.party_history(person) %}

{% block title %}
{{person.name|translit(type='name')}}{% if person.cur_party.name %} ({{person.cur_party.name|translit(type='party')}}){% endif %}{% if person.last_elected_no %}, {{gettext('Member of %(last_elected_no)dth National Assembly,', last_elected_no=person.last_elected_no)}}{% endif %} - {{super()}}
{% endblock %}

{% block meta_headers %}
<meta property="og:title" content="{{ person.name|translit(type='name') }} - 대한민국 정치의 모든 것" />
<meta property="og:image" content="{{ person.image|default(url_for('static', filename='images/default_profile.jpg'), True) }}" />
<meta property="og:description" content="{% if person.birthday %}{{ person.birthday[:4] }}년생. {% endif %}{% if person.cur_party.name %}{{ person.cur_party.name|translit(type='party') }}.{% endif %}" />
{% endblock %}

{% block breadcrumb_current %}
{{ person.name|translit(type='name') }}
{% endblock %}

{% block extra_headers %}
{{ super() }}
{% if not mobile %}
    {# TODO: get rid of person.less #}
    {% assets filters='less', output='build/person.%(version)s.css',
        depends=['**/*.less'], 'less/person.less' %}
    <link rel="stylesheet" href="{{ASSET_URL}}">
    {% endassets %}
{% endif %}
{% endblock %}

{% block content %}
<div id="person-view" class="view">
    <div class="grad entity-header">
        {{ widgets.card(person, detailed=True)|safe }}
        {% include 'social.html' %}
    </div>
    <div id="person-sections" class="sections">
        <div id="section-profile" class="section">
            <h3 id="profile">
                {{ gettext('profile') }}
                <span class="comment down-10"><i class="icon-exclamation-sign"></i>{{ gettext('Data in this section is based on latest election records, and therefore can be outdated.') }}</span>
            </h3>
            <table id="person-profile" class="table table-condensed">
{'fraction_non_alphanumeric': 0.2073170731707317, 'fraction_numerical': 0.002926829268292683, 'mean_word_length': 4.381889763779528, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7430373', 'n_tokens_mistral': 1404, 'n_tokens_neox': 1320, 'n_words': 262}