function home_site() {

  let dt2=get_localstorage('sites');

  let dt=dt2.data;

  console.log('home_site ready')

  //console.log(dt)

  const ds = dt.filter(d => d.select === 1);

  //console.log(ds)

  var content = ``;

  ds.forEach(v => {

  //for(let a=0;a<6;a++){

    content +=`

    <div class="section-title">

    ${v.title}<a href="/list_page/latest_bysite/${v.id}" class="link">View All</a>

    </div>`;

    content +=list_item_bysite(v.id);

  });

  $("#home_site").html(content);  

}