function tab_content_category() {

  let dt2=get_localstorage('sections');

  let dt=dt2.data;

  console.log('tab_content_category ready')

  //console.log(dt)

  //const result = words.filter((word) => word.length > 6);

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

  const dv = dt.filter(d => d.select === 0);

  //console.log(ds)

  var content = ``;

  /*

  ds.forEach(v => {

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

    content +=`

    <div class="section-title">

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

    </div>`;

    //content +=list_bysite(v.id);

  });

  */

  content +=``;

  content +=``;

  dv.forEach(v => {

    content +=`

    <div class="section-title">

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

    </div>`;

    content +=list_item_bysection(v.id);

  });

  content +=``;

  

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

  

}