<commit_before>{include file='header.tpl'}
{include file='menu.tpl'}
<div class="container-fluid">
    <div class="row">
        <div class="col-md-4 col-md-offset-4">
            <h1>Locations</h1>
            <ul>
            <li>
                <a class="pure-menu-link" href="/site/all">All</a>
            </li>

            {foreach from=$sites key=siteid item=site}
                <li class="pure-menu-item">
                    <a class="pure-menu-link" href="/site/{$site|escape:'htmlall'}">{$site|escape:'htmlall'|truncate:30}</a>
                    <ul>
                        {foreach from=$locations[$siteid]['locations'] item=location}
                            {foreach from=$location item=loc}
                            <li>
                                <a class="pure-menu-link" href="/location/{$loc|escape:'htmlall'}">{$loc|escape:'htmlall'|truncate:30}</a>
                            </li>
                            {/foreach}
                        {/foreach}
                    </ul>
                </li>
{/foreach}
            </ul>
        </div>
    </div>
</div>
{include file='footer.tpl'}<commit_msg>Reformat locations.tpl<commit_after>{include file='header.tpl'}
{include file='menu.tpl'}
<div class="container-fluid">
    <div class="row">
        <div class="col-md-4 col-md-offset-4">
            <h1>Locations</h1>
            <ul>
            <li>
                <a class="pure-menu-link" href="/site/all">All</a>
            </li>
            {foreach from=$sites key=siteid item=site}
              <li class="pure-menu-item">
                  <a class="pure-menu-link" href="/site/{$site|escape:'htmlall'}">{$site|escape:'htmlall'|truncate:30}</a>
                  <ul>
                      {foreach from=$locations[$siteid]['locations'] item=location}
                          {foreach from=$location item=loc}
                          <li>
                              <a class="pure-menu-link" href="/location/{$loc|escape:'htmlall'}">{$loc|escape:'htmlall'|truncate:30}</a>
                          </li>
                          {/foreach}
                      {/foreach}
                  </ul>
              </li>
            {/foreach}
            </ul>
        </div>
    </div>
</div>
{include file='footer.tpl'}
{'fraction_non_alphanumeric': 0.1710411198600175, 'fraction_numerical': 0.00699912510936133, 'mean_word_length': 1.3872651356993737, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4899396', 'n_tokens_mistral': 688, 'n_tokens_neox': 654, 'n_words': 100}