1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
export default {
slots: {
groupInfo: {
type: 'html',
mutable: false,
},
chunks: {
type: 'html',
mutable: false,
},
},
generate: (slots, {html, language}) =>
html.tag('dl',
{[html.onlyIfContent]: true},
[
slots.groupInfo,
slots.chunks,
!html.isBlank(slots.groupInfo) &&
html.tag('dt', {class: 'filter-notice'},
{style: 'display: none'},
language.encapsulate('artistPage.filterNotice', capsule =>
language.$(capsule, {
clear:
html.tag('a', {href: '#'},
language.$(capsule, 'clear')),
}))),
]),
};
|