<commit_before><nav id='navbar' class="navbar navbar-default" role="navigation">

  <!-- Brand and toggle get grouped for better mobile display -->
  <div class="navbar-header">
    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
      <span class="sr-only">Toggle navigation</span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
    </button>
  </div>


  <!-- Collect the nav links, forms, and other content for toggling -->
  <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">

    <ul class="nav navbar-nav">
    {# add in the top level menu items from pages #}
    {% for item in menu %}
        {% if item.children %} 
        <li class='dropdown'>
             <a href="{{item.url}}"  class="dropdown-toggle" data-toggle="dropdown">{{item.title}} <b class="caret"></b></a>
             <ul class="dropdown-menu">
             {% for subitem in item.children %}
                <li {% if subitem.current %}class='active'{% endif %}><a href="{{subitem.url}}">{{subitem.title}}</a></li>
             {% endfor %} 
             </ul> 
        </li>
      {% else %}
        <li><a href="{{item.url}}">{{item.title}}</a></li>
      {% endif %}
    {% endfor %}

    </ul>
    
    <ul class='nav navbar-nav'>
        <li class='dropdown'>
            <a href="#" class='dropdown-toggle' data-toggle='dropdown'>Signbank <b class="caret"></b></a>
            <ul class='dropdown-menu'>
                <li><a href="/dictionary/">Dictionary</a></li>
                <li><a href="/numbersigns.html">Number Signs</a></li>
                <li><a href="/spell/twohanded.html">Finger Spelling</a></li>
                <li id="extrafeedback"><a href="{% url 'signbank.feedback.views.generalfeedback' %}">Help build Signbank</a></li>
            </ul>
        </li>
    </ul>
    
    {% if settings_social_network_share_links %}
    <ul class='nav navbar-nav'>
        <li class='dropdown'>
            <a href="#" class='dropdown-toggle' data-toggle='dropdown'>Share <b class="caret"></b></a>
            <ul class='dropdown-menu'>
                {% if settings_social_network_twitter_page %}
                <li><a href="http://twitter.com/share?text={{ " #bslsignbank"|urlencode }}&url={{ request.build_absolute_uri|urlencode }}"><img src="{{ STATIC_URL }}images/social/twitter.png" alt="Twitter"> Share on Twitter</a></li>
                {% endif %}
                {% if settings_social_network_facebook_page %}
                <li><a href="http://facebook.com/sharer.php?u={{ request.build_absolute_uri|urlencode }}"><img src="{{ STATIC_URL }}images/social/facebook.png" alt="facebook"> Share on Facebook</a></li>
                {% endif %}
                {% if settings_social_network_twitter_page %}
                <li><a href="{{ settings_social_network_twitter_page }}">Follow us on Twitter</a></li>
                {% endif %}
                {% if settings_social_network_facebook_page %}<commit_msg>Show regional and numbersigns pages for administrators, temporary menu code<commit_after><nav id='navbar' class="navbar navbar-default" role="navigation">

  <!-- Brand and toggle get grouped for better mobile display -->
  <div class="navbar-header">
    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
      <span class="sr-only">Toggle navigation</span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
    </button>
  </div>


  <!-- Collect the nav links, forms, and other content for toggling -->
  <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">

    <ul class="nav navbar-nav">
    {# add in the top level menu items from pages #}
    {% for item in menu %}
        {% if item.children %} 
        <li class='dropdown'>
             <a href="{{item.url}}"  class="dropdown-toggle" data-toggle="dropdown">{{item.title}} <b class="caret"></b></a>
             <ul class="dropdown-menu">
             {% for subitem in item.children %}
                <li {% if subitem.current %}class='active'{% endif %}><a href="{{subitem.url}}">{{subitem.title}}</a></li>
             {% endfor %} 
             </ul> 
        </li>
      {% else %}
        <li><a href="{{item.url}}">{{item.title}}</a></li>
      {% endif %}
    {% endfor %}

    </ul>
    
    <ul class='nav navbar-nav'>
        <li class='dropdown'>
            <a href="#" class='dropdown-toggle' data-toggle='dropdown'>Signbank <b class="caret"></b></a>
            <ul class='dropdown-menu'>
                <li><a href="/dictionary/">Dictionary</a></li>
                {% if perms.attachments.add_attachment %}
                <li><a href="/regional/">Regional Signs</a></li>
                <li><a href="/regional/numbersigns/">Number Signs</a></li>
                {% else %}
                <li><a href="/numbersigns.html">Number Signs</a></li>
                {% endif %}
                <li><a href="/spell/twohanded.html">Finger Spelling</a></li>
                <li id="extrafeedback"><a href="{% url 'signbank.feedback.views.generalfeedback' %}">Help build Signbank</a></li>
            </ul>
        </li>
    </ul>
    
    {% if settings_social_network_share_links %}
    <ul class='nav navbar-nav'>
        <li class='dropdown'>
            <a href="#" class='dropdown-toggle' data-toggle='dropdown'>Share <b class="caret"></b></a>
            <ul class='dropdown-menu'>
                {% if settings_social_network_twitter_page %}
                <li><a href="http://twitter.com/share?text={{ " #bslsignbank"|urlencode }}&url={{ request.build_absolute_uri|urlencode }}"><img src="{{ STATIC_URL }}images/social/twitter.png" alt="Twitter"> Share on Twitter</a></li>
                {% endif %}
                {% if settings_social_network_facebook_page %}
                <li><a href="http://facebook.com/sharer.php?u={{ request.build_absolute_uri|urlencode }}"><img src="{{ STATIC_URL }}images/social/facebook.png" alt="facebook"> Share on Facebook</a></li>
                {% endif %}
                {% if settings_social_network_twitter_page %}
                <li><a href="{{ settings_social_network_twitter_page }}">Follow us on Twitter</a></li>
                {% endif %}
                {% if settings_social_network_facebook_page %}
{'fraction_non_alphanumeric': 0.18492618492618493, 'fraction_numerical': 0.0006216006216006216, 'mean_word_length': 2.5035383777898748, 'pattern_counts': {'":': 0, '<': 173, '<?xml version=': 0, '>': 173, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2619284', 'n_tokens_mistral': 2016, 'n_tokens_neox': 1845, 'n_words': 385}