layout | title | permalink |
---|---|---|
page |
Bollettino |
/bollettino/ |
{% assign filteredissues = site.data.issuesjson | where: "state","open" | where_exp: "member","member.issue.labels contains 'Bollettino'"%}
{% for member in filteredissues %}
{% capture memberName %}{{member.issue.data.descrizione}}{% endcapture %}
{% assign memberId = member.number %}
{% capture memberUrl %}{{site.url}}/issues/{{member.number}}{% endcapture %}
{% endfor %}
{% if member.issue.data.descrizione %}
{% endif %}
{% if member.issue.data.data %}
{% endif %}
{% if member.issue.data.indirizzo %}
{% endif %}
{% if member.issue.data.link %}
{% endif %}
{{member.issue.data.descrizione|markdownify}}
Data:
{{member.issue.data.data}}
Indirizzo:
{{member.issue.data.indirizzo}}
{% assign filteredissues = site.data.issuesjson | where: "state","closed" | where_exp: "member","member.issue.labels contains 'Bollettino'"%}
{% for member in filteredissues %}
{% capture memberName %}{{member.issue.data.descrizione}}{% endcapture %}
{% assign memberId = member.number %}
{% capture memberUrl %}{{site.url}}/issues/{{member.number}}{% endcapture %}
{% endfor %}
{% if member.issue.data.descrizione %}
{% endif %}
{% if member.issue.data.data %}
{% endif %}
{% if member.issue.data.indirizzo %}
{% endif %}
{% if member.issue.data.link %}
{% endif %}
{{member.issue.data.descrizione|markdownify}}
Data:
{{member.issue.data.data}}
Indirizzo:
{{member.issue.data.indirizzo}}
{% assign filteredposts = site.posts | where_exp: "post","member.categories contains 'bollettino'"%}
{% for post in filteredposts %}
<script>
var markerList=[];
{% assign filteredissues = site.data.issuesjson | where: "state","open" | where_exp: "member","member.issue.labels contains 'Bollettino'"%}
{% for member in filteredissues %}
{% if member.issue.lat != blank and member.issue.lon != blank %}
markerList.push([{{member.issue.lat}}, {{member.issue.lon}}, "{{member.title|uri_escape}}", "/issues/{{ member.number }}"]);
{% endif %}
{% endfor %}
// initialize the map
var map = L.map('map')
// create the tile layer with correct attribution
var osmUrl='{{site.tile_map}}';
var osmAttrib='© OpenStreetMap, Tiles courtesy of Leaflet';
var osm = new L.TileLayer(osmUrl, {minZoom: 6, maxZoom: 19, attribution: osmAttrib});
var sumLat = 0.;
var sumLon = 0.;
var countMarkers=0;
for (var i=0; i" + decodeURI(popupText) + "");
sumLat += lat;
sumLon += lon;
countMarkers++;
}
}
map.addLayer(osm).setView([sumLat / countMarkers, sumLon / countMarkers], 6);
</script>
<div class="entry">
{{ post.excerpt }}
</div>
<a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a>
</article>
{% endfor %}