Skip to content

Commit 33efd73

Browse files
update hsverz
1 parent 9778474 commit 33efd73

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

src/routes/hsverz[[rest]]/+page.svelte

+6-18
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,16 @@
66

77
<div class="container mx-auto typography">
88
<h1 class="h1">Parzival-Handschriften und Fragmente zu den Editionsproben</h1>
9-
{#each sigla.codices as { sigil, loc, cod, info }}
10-
<h2>Hs. {sigil}</h2>
11-
{#if typeof loc === 'string'}
12-
<p>{loc}, {cod}</p>
13-
{:else}
14-
{#each loc as location, i}
15-
<p>{location}, {cod[i]}</p>
16-
{/each}
17-
{/if}
9+
{#each sigla.codices as { "info-h1": sigil, "info-h2": loc, info }}
10+
<h2>{sigil}</h2>
11+
<div>{@html loc}</div>
1812
{#if info}
1913
<p>{@html info}</p>
2014
{/if}
2115
{/each}
22-
{#each sigla.fragments as { sigil, loc, cod, info }}
23-
<h2>{@html sigil}</h2>
24-
{#if typeof loc === 'string'}
25-
<p>{loc}, {cod}</p>
26-
{:else}
27-
{#each loc as location, i}
28-
<p>{location}, {cod[i]}</p>
29-
{/each}
30-
{/if}
16+
{#each sigla.fragments as { "info-h1": sigil, "info-h2": loc, info }}
17+
<h2>{sigil}</h2>
18+
<div>{@html loc}</div>
3119
{#if info}
3220
<p>{@html info}</p>
3321
{/if}

0 commit comments

Comments
 (0)