<commit_before><div id="side-user-info" class="container-fluid">
  <p><span class="glyphicon glyphicon-user"></span> 관리자</p>
  <a class="btn btn-primary btn-block" href="#">로그아웃</a>
  <a class="btn btn-default btn-block" href="./?{{ _('lang=en') }}">{{ _('View in English') }}</a>
</div>
<nav id="side-nav" class="container-fluid navbar navbar-default">
  <ul class="nav navbar-nav">
  {% for item in navigator[:4] %}
    <li class="dropdown {% if item.category == service.category %}current-menu{% endif %}">
      <a class="dropdown-toggle" data-toggle="dropdown" href="{{ item.category.get_absolute_url() }}">{{ item.category.name }}</a>
      <ul class="dropdown-menu">
      {% for service in item.services %}
        <li><a href="{{ service.get_absolute_url() }}">{{ service.name }}</a></li>
      {% endfor %}
      </ul>
    </li>
  {% endfor %}
  </ul>
</nav>
<commit_msg>Refs #22 -- Modify side nav to handle none service<commit_after><div id="side-user-info" class="container-fluid">
  <p><span class="glyphicon glyphicon-user"></span> 관리자</p>
  <a class="btn btn-primary btn-block" href="#">로그아웃</a>
  <a class="btn btn-default btn-block" href="./?{{ _('lang=en') }}">{{ _('View in English') }}</a>
</div>
<nav id="side-nav" class="container-fluid navbar navbar-default">
  <ul class="nav navbar-nav">
  {% for item in navigator[:4] %}
    <li class="dropdown {% if service is defined and item.category == service.category %}current-menu{% endif %}">
      <a class="dropdown-toggle" data-toggle="dropdown" href="{{ item.category.get_absolute_url() }}">{{ item.category.name }}</a>
      <ul class="dropdown-menu">
      {% for service in item.services %}
        <li><a href="{{ service.get_absolute_url() }}">{{ service.name }}</a></li>
      {% endfor %}
      </ul>
    </li>
  {% endfor %}
  </ul>
</nav>

{'fraction_non_alphanumeric': 0.22777167947310648, 'fraction_numerical': 0.0021953896816684962, 'mean_word_length': 3.874331550802139, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, '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': '7141001', 'n_tokens_mistral': 660, 'n_tokens_neox': 630, 'n_words': 144}