« 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: e7915ab7ad0f1d73cee6247955d4e05bdfc0504a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
export default {
  extraDependencies: ['html'],

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

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

  generate: (slots, {html}) =>
    html.tag('dl',
      {[html.onlyIfContent]: true},
      [slots.groupInfo, slots.chunks]),
};