@if (sections && !fullscreen) {
@if (showSwitch) {
}
@for (section of sections; track section.type + '-' + section.number + '-' + $index; let i = $index) {
@for (line of getLines(section); track (line.lineNumber ?? $index) + '-' + line.type + '-' + $index) {
@for (segment of getDisplaySegments(line); track $index) { {{ segment.text }} }
}
} @if (sections.length===0) {
Es wurden keine Liedabschnitte gefunden! Bitte mindestens einen Abschnitt festlegen!
}
} @if (sections && fullscreen) {
@if (showSwitch) {
}
@if (header) {

# {{ header }}

} @for (section of sections; track section.type + '-' + section.number + '-' + $index; let i = $index) {
@for (line of getLines(section); track (line.lineNumber ?? $index) + '-' + line.type + '-' + $index) {
@for (segment of getDisplaySegments(line, true); track $index) { {{ segment.text }} }
}
}
}