import Layout from '../components/layout'; import { mapChild, toListItem } from '../components/lists'; import pl from '../public/playlists.yaml'; function Playlists() { return (

Music

{ pl.map((item: Record) => { const lItem = toListItem(item) if (lItem) return mapChild(lItem, 0, { 'spotify': (i) => { return
{i.title}
; }, 'youtube-playlist': (i) => { return
{i.title}
; } }) }) }
); } export default Playlists;