<commit_before>---
layout: homepage
title: Terremoto Centro Italia
subtitle: Un progetto per informare sul terremoto del 24 Agosto 2016
---

<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="posts-list">
  {% for post in paginator.posts %}
  <article class="post-preview">
    <a href="{{ post.url | prepend: site.baseurl }}">
	  <h2 class="post-title">{{ post.title }}</h2>

	  {% if post.subtitle %}
	  <h3 class="post-subtitle">
	    {{ post.subtitle }}
	  </h3>
	  {% endif %}
    </a>

    <p class="post-meta">
      Posted on {{ post.date | date: "%B %-d, %Y" }}
    </p>

    <div class="post-entry">
      {{ post.content | strip_html | xml_escape | truncatewords: 50 }}
	  <a href="{{ post.url | prepend: site.baseurl }}" class="post-read-more">[Leggi&nbsp;tutto]</a>
    </div>

    {% if post.tags.size > 0 %}
    <div class="blog-tags">
      Tags: 
      {% if site.link-tags %}
      {% for tag in post.tags %}
      <a href="{{ site.baseurl }}/tag/{{ tag }}">{{ tag }}</a>
      {% endfor %}
      {% else %}
        {{ post.tags | join: ", " }}
      {% endif %}
    </div>
    {% endif %}

   </article>
  {% endfor %}
</div>

{% if paginator.total_pages > 1 %}
<ul class="pager main-pager">
  {% if paginator.previous_page %}
  <li class="previous">
    <a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&larr; Post più nuovi</a>
  </li>
  {% endif %}
  {% if paginator.next_page %}
  <li class="next">
    <a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Post più vecchi &rarr;</a>
  </li>
  {% endif %}
</ul>
{% endif %}


   <div class="container-fluid">
      
      <!-- this is the stage for the feeds -->
        <div class="row" id="feed_display"></div>
             
      <div style="clear:both;"></div>
    
    </div>
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="/js/FeedEk.js"></script>
    <script type="text/javascript" src="/js/masonry.js"></script>
    <script type="text/javascript">
    $(function() {
        // This is the array of feeds that we're displaying.
      // More feeds can be added at the end.
      var feeds = [
        "http://feeds.feedburner.com/TerremotoCentroItalia-RaccoltaFeedRss"
      ];
      
      for (index = 0; index < feeds.length; index++) {
        var div_id = 'feed_'+index;
        $("#feed_display").append('<div class="post col-lg-4 col-md-4 col-sm-4" id="'+div_id+'" style=""></div>');
        $("#"+div_id).FeedEk({
          FeedUrl:feeds[index],
          MaxCount : 7,
            ShowDesc : false,
            ShowPubDate:true,
          TitleLinkTarget:'_blank'
        });
      }
      var gutter = parseInt($('.post').css('marginBottom'));
      var $container = $('#feed_display');
      
      // Because we're getting remote data with AJAX, we need to wait until the page
      // is fully loaded, AJAX and all, to call the Masonry functions.
      // Otherwise, there's weird timer stuff or overlapping elements.
      
      window.addEventListener('load', function () {
        $container.masonry({
          gutter: gutter,
          columnWidth: '.post',
          itemSelector: '.post'
        });
      }, false);
    });
  </script>
    
</div><commit_msg>rimosso feed in home page<commit_after>---
layout: homepage
title: Terremoto Centro Italia
subtitle: Un progetto per informare sul terremoto del 24 Agosto 2016
---

<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="posts-list">
  {% for post in paginator.posts %}
  <article class="post-preview">
    <a href="{{ post.url | prepend: site.baseurl }}">
	  <h2 class="post-title">{{ post.title }}</h2>

	  {% if post.subtitle %}
	  <h3 class="post-subtitle">
	    {{ post.subtitle }}
	  </h3>
	  {% endif %}
    </a>

    <p class="post-meta">
      Posted on {{ post.date | date: "%B %-d, %Y" }}
    </p>

    <div class="post-entry">
      {{ post.content | strip_html | xml_escape | truncatewords: 50 }}
	  <a href="{{ post.url | prepend: site.baseurl }}" class="post-read-more">[Leggi&nbsp;tutto]</a>
    </div>

    {% if post.tags.size > 0 %}
    <div class="blog-tags">
      Tags: 
      {% if site.link-tags %}
      {% for tag in post.tags %}
      <a href="{{ site.baseurl }}/tag/{{ tag }}">{{ tag }}</a>
      {% endfor %}
      {% else %}
        {{ post.tags | join: ", " }}
      {% endif %}
    </div>
    {% endif %}

   </article>
  {% endfor %}
</div>

{% if paginator.total_pages > 1 %}
<ul class="pager main-pager">
  {% if paginator.previous_page %}
  <li class="previous">
    <a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&larr; Post più nuovi</a>
  </li>
  {% endif %}
  {% if paginator.next_page %}
  <li class="next">
    <a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Post più vecchi &rarr;</a>
  </li>
  {% endif %}
</ul>
{% endif %}
    
</div>
{'fraction_non_alphanumeric': 0.19643534319302236, 'fraction_numerical': 0.009480470231323474, 'mean_word_length': 2.509647371922821, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 92, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '5948279', 'n_tokens_mistral': 1937, 'n_tokens_neox': 1782, 'n_words': 426}