
A member of a youth corps campaigning for peace performs an act at the sprawling Kibera slum in Nairobi on July 28, 2014.Kenya takes pride in being a union of “42 tribes”, but a string of attacks in towns on its volatile coast has exposed bitter and explosive ethnic tensions linked to politics. “There has been a surge of dangerous speech,” said 26-year-old Nanjira Sambuli, a project leader of Umati, an online crowd sourcing project monitoring hate speech, based in Nairobi’s sleek iHub offices, the heart of its tech-savvy community.
A Palestinian youth carries a bicycle from the wreckage of a building, which was hit in an Israeli strike, in Rafah, in the southern Gaza Strip on August 2, 2014. A fresh wave of violence killed dozens in Gaza after the collapse of a UN and US backed ceasefire, officials said, as Hamas denied it kidnapped an Israeli soldier.
//
{{#ImageElementCollection}}
<div id="images">
{{#ImageElement}}
<div class="imagewrap">
<div class="imagecontainer">
<a name="photo{{position}}"><img src="{{fullUrl}}" alt="Description of {} {{caption}}" /></a>
</div>
<div class="caption"><div class="linkage"><p><a href="#photo{{position}}">{{position}}</a></p></div><p>{{#if caption}} {{caption}} {{/if}}<a class="hashy" href="#photo{{position}}">#</a></p></div>
</div>
{{/ImageElement}}
</div>
{{/ImageElementCollection}}
////
//
(function($){
var noCache = Date(), // Prevent IE caching of JSON
positionCounter = 0,
url,
json = _JSONHelper; // CUSTOM CODE found in js/JSON_helper.js
// COUNTER FOR HANDLEBARS (PAGINATION)
Handlebars.registerHelper(‘position’, function() {
// More than one position per loop
if (url !== this.fullUrl) {
url = this.fullUrl;
return positionCounter++;
}
else {
return positionCounter;
}
});
// get data from json object
$.getJSON(json, { "noCache": noCache }, function(data) {
// build the carousel
template = Handlebars.compile($(‘#longformTemp’).html());
html = template(data);
$(‘.photo-gallery’).html(html);
});
})(jQuery);
////



