« get me outta code hell

generateArtistInfoPageChunkedList.js « dependencies « content « src - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateArtistInfoPageChunkedList.js
blob: 8503d014d6e551e600f346ceb96538d01c496b55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
export default {
  extraDependencies: ['html'],

  slots: {
    groupInfo: {
      type: 'html',
      mutable: false,
    },

    chunks: {
      type: 'html',
      mutable: false,
    },
  },

  generate(slots, {html}) {
    return (
      html.tag('dl', [
        slots.groupInfo,
        slots.chunks,
      ]));
  },
};