<commit_before>{meta_html csstheme 'css/main.css'}
{meta_html csstheme 'css/view.css'}
{meta_html csstheme 'css/media.css'}

<span id="anchor-top-projects"></span>
{assign $idm = 0}
{foreach $mapitems as $mi}
{if $mi->type == 'rep'}
<h2 class="liz-repository-title">{$mi->title}</h2>
<ul class="thumbnails liz-repository-project-list">
  {foreach $mi->childItems as $p}
  {assign $idm = $idm + 1}
  <a name="link-projet-{$idm}"></a>
  <li class="span3 liz-repository-project-item">
    <div class="thumbnail">
      <div class="liz-project">
        <img src="{$p->img}" alt="project image" class="liz-project-img">
        <p class="liz-project-desc" style="display:none;">
          <b>{$p->title}</b>
          <br/>
          <br/><b>{@default.project.abstract.label@}</b>&nbsp;: {$p->abstract|strip_tags|truncate:100}
          <br/>
          <br/><b>{@default.project.keywordList.label@}</b>&nbsp;: <span class="keywordList">{$p->keywordList}</span>
          <br/>
          <br/><b>{@default.project.projection.label@}</b>&nbsp;: <span class="proj">{$p->proj}</span>
          <br/><b>{@default.project.bbox.label@}</b>&nbsp;: <span class="bbox">{$p->bbox}</span>
        </p>
      </div>
      <h5 class="liz-project-title">{$p->title}</h5>
      <p style="text-align:center;">
        <a class="btn liz-project-view" href="{$p->url}{if $hide_header}&h=0{/if}">{@default.project.open.map@}</a>
        <a class="btn liz-project-show-desc" href="#link-projet-{$idm}" onclick="$('#liz-project-modal-{$idm}').modal('show'); return false;">{@default.project.open.map.metadata@}</a>
      </p>
    </div><commit_msg>Set width/height on project's img + lazy loading Set width/height to avoid jumps when images load. Lazy loading to reduce bandwidth.<commit_after>{meta_html csstheme 'css/main.css'}
{meta_html csstheme 'css/view.css'}
{meta_html csstheme 'css/media.css'}

<span id="anchor-top-projects"></span>
{assign $idm = 0}
{foreach $mapitems as $mi}
{if $mi->type == 'rep'}
<h2 class="liz-repository-title">{$mi->title}</h2>
<ul class="thumbnails liz-repository-project-list">
  {foreach $mi->childItems as $p}
  {assign $idm = $idm + 1}
  <a name="link-projet-{$idm}"></a>
  <li class="span3 liz-repository-project-item">
    <div class="thumbnail">
      <div class="liz-project">
        <img loading="lazy" width="250" height="250" src="{$p->img}" alt="project image" class="liz-project-img">
        <p class="liz-project-desc" style="display:none;">
          <b>{$p->title}</b>
          <br/>
          <br/><b>{@default.project.abstract.label@}</b>&nbsp;: {$p->abstract|strip_tags|truncate:100}
          <br/>
          <br/><b>{@default.project.keywordList.label@}</b>&nbsp;: <span class="keywordList">{$p->keywordList}</span>
          <br/>
          <br/><b>{@default.project.projection.label@}</b>&nbsp;: <span class="proj">{$p->proj}</span>
          <br/><b>{@default.project.bbox.label@}</b>&nbsp;: <span class="bbox">{$p->bbox}</span>
        </p>
      </div>
      <h5 class="liz-project-title">{$p->title}</h5>
      <p style="text-align:center;">
        <a class="btn liz-project-view" href="{$p->url}{if $hide_header}&h=0{/if}">{@default.project.open.map@}</a>
        <a class="btn liz-project-show-desc" href="#link-projet-{$idm}" onclick="$('#liz-project-modal-{$idm}').modal('show'); return false;">{@default.project.open.map.metadata@}</a>
      </p>
    </div>
{'fraction_non_alphanumeric': 0.2400822803408757, 'fraction_numerical': 0.008228034087569792, 'mean_word_length': 3.6887052341597797, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 117, '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': '6704506', 'n_tokens_mistral': 1273, 'n_tokens_neox': 1253, 'n_words': 193}