<commit_before><!DOCTYPE html>
<html lang="{{ site.locale | split('_') | first }}">
<head>
<meta charset="UTF-8">
<meta name="robots" content="noindex">
<meta name="viewport" content="initial-scale = 1.0">
<title>{{ site.name }}: {% block title %}{{ title }}{% endblock %}</title>
<!-- Styles -->
<link rel="shortcut icon" href="{{ site.chyrp_url }}/favicon.ico">
<link rel="mask-icon" href="{{ site.chyrp_url }}/favicon.svg" color="#4f4f4f">
<link rel="stylesheet" href="{{ site.chyrp_url }}/admin/stylesheets/all.css" type="text/css" media="all">
<!-- JavaScripts -->
<script src="{{ site.chyrp_url }}/includes/common.js" type="text/javascript" charset="utf-8"></script>
<script src="{{ site.chyrp_url }}/admin/javascripts/admin.js.php?action={{ route.action }}" type="text/javascript" charset="utf-8"></script>
{{ trigger.call("admin_head") }}
</head>
<body>
<div id="header" role="banner">
<h1><a href="{{ site.url }}">{{ site.name }}</a></h1>
<ul id="navigation" role="menubar">
{% block navigation %}
{% for action, attributes in navigation %}
{% if attributes.children is not empty %}
<li role="presentation" class="{{ action }}{{ attributes.selected | selected(true) }}">
<a role="menuitem" href="{{ url('/?action=' ~ (action | url_encode)) }}">{{ attributes.title }}</a>
</li>
{% endif %}
{% endfor %}
{% endblock %}
</ul>
</div>
<ul id="sub_nav" role="menubar" class="{{ route.action }}_nav ">
{% block subnav %}
{% for parent in navigation %}
{% if parent.selected and parent.children is not empty %}
{% for child, attributes in parent.children %}
<li role="presentation" class="{{ child }}{{ attributes.selected | selected(true) }}">
<a role="menuitem" href="{{ url('/?action=' ~ (child | url_encode)) }}">{{ attributes.title }}</a>
</li>
{% endfor %}
{% endif %}<commit_msg>Admin: don't url_encode navigation actions in default.twig<commit_after><!DOCTYPE html>
<html lang="{{ site.locale | split('_') | first }}">
<head>
<meta charset="UTF-8">
<meta name="robots" content="noindex">
<meta name="viewport" content="initial-scale = 1.0">
<title>{{ site.name }}: {% block title %}{{ title }}{% endblock %}</title>
<!-- Styles -->
<link rel="shortcut icon" href="{{ site.chyrp_url }}/favicon.ico">
<link rel="mask-icon" href="{{ site.chyrp_url }}/favicon.svg" color="#4f4f4f">
<link rel="stylesheet" href="{{ site.chyrp_url }}/admin/stylesheets/all.css" type="text/css" media="all">
<!-- JavaScripts -->
<script src="{{ site.chyrp_url }}/includes/common.js" type="text/javascript" charset="UTF-8"></script>
<script src="{{ site.chyrp_url }}/admin/javascripts/admin.js.php?action={{ route.action }}" type="text/javascript" charset="UTF-8"></script>
{{ trigger.call("admin_head") }}
</head>
<body>
<div id="header" role="banner">
<h1><a href="{{ site.url }}">{{ site.name }}</a></h1>
<ul id="navigation" role="menubar">
{% block navigation %}
{% for action, attributes in navigation %}
{% if attributes.children is not empty %}
<li role="presentation" class="{{ action }}{{ attributes.selected | selected(true) }}">
<a role="menuitem" href="{{ url('/?action=' ~ action) }}">{{ attributes.title }}</a>
</li>
{% endif %}
{% endfor %}
{% endblock %}
</ul>
</div>
<ul id="sub_nav" role="menubar" class="{{ route.action }}_nav ">
{% block subnav %}
{% for parent in navigation %}
{% if parent.selected and parent.children is not empty %}
{% for child, attributes in parent.children %}
<li role="presentation" class="{{ child }}{{ attributes.selected | selected(true) }}">
<a role="menuitem" href="{{ url('/?action=' ~ child) }}">{{ attributes.title }}</a>
</li>
{% endfor %}
{% endif %}
{'fraction_non_alphanumeric': 0.2438005015324603, 'fraction_numerical': 0.005572582892170521, 'mean_word_length': 5.7481203007518795, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 75, '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': '4301565', 'n_tokens_mistral': 1263, 'n_tokens_neox': 1187, 'n_words': 294}