Statische Dtaein + Übersetzungen hinzugefügt

This commit is contained in:
Simon Martens
2023-02-08 14:53:45 +01:00
parent d845799466
commit 1fb87333d1
78 changed files with 74 additions and 7 deletions

View File

@@ -2,6 +2,21 @@ const eleventyNavigationPlugin = require("@11ty/eleventy-navigation");
module.exports = function (config) { module.exports = function (config) {
config.addCollection("uebersetzungen", function(collectionApi) {
return collectionApi
.getFilteredByGlob("**/lists/uebersetzungen/*.html")
.sort(function(a, b) {
if (a.data.Sprache !== null && b.data.Sprache !== null &&
a.data.Sprache !== b.data.Sprache) {
return a.data.Sprache.localeCompare(b.data.Sprache);
} else if (a.data.Sort !== null && b.data.Sort !== null &&
a.data.Sort !== b.data.Sort) {
return a.data.Sort - b.data.Sort;
}
return 0;
});
});
config.addCollection("sekundaer", function(collectionApi) { config.addCollection("sekundaer", function(collectionApi) {
return collectionApi return collectionApi
.getFilteredByGlob("**/lists/sekundaerliteratur/*.html") .getFilteredByGlob("**/lists/sekundaerliteratur/*.html")

View File

@@ -1,10 +1,10 @@
--- ---
title: Forschungsbibliographie & Übersetzungen title: Forschungsbibliographie
description: Forschungsliteratur und Übersetzungen zu Leben und Werk von Jacob Michael Reinhold Lenz description: Forschungsliteratur zu Leben und Werk von Jacob Michael Reinhold Lenz
eleventyNavigation: eleventyNavigation:
key: Forschungsbibliographie key: Forschungsbibliographie
parent: Verzeichnisse parent: Verzeichnisse
order: 5 order: 6
--- ---
@@ -24,6 +24,7 @@ eleventyNavigation:
Jahr  Jahr 
<select onchange="window.location.href=this.value" id="listselect"> <select onchange="window.location.href=this.value" id="listselect">
{% set jahr = "" %} {% set jahr = "" %}
{% set currjahr = "" %}
{% set count = 0 %} {% set count = 0 %}
{%- for post in collections.sekundaer -%} {%- for post in collections.sekundaer -%}
{% if count % 50 == 0 and jahr !== post.data.Jahr %} {% if count % 50 == 0 and jahr !== post.data.Jahr %}
@@ -31,7 +32,11 @@ eleventyNavigation:
{% set jahr = post.data.Jahr %} {% set jahr = post.data.Jahr %}
{% endif %} {% endif %}
{% set count = count + 1 %} {% set count = count + 1 %}
{% set currjahr = post.data.Jahr %}
{%- endfor -%} {%- endfor -%}
{%- if currjahr !== jahr %}
<option value="#{{ currjahr }}">{{ currjahr }}</option>
{%- endif -%}
</select> </select>
</div> </div>
<button id="scrollbutton" href="#top">↑&nbsp;hoch</button> <button id="scrollbutton" href="#top">↑&nbsp;hoch</button>

View File

@@ -4,7 +4,7 @@ description: Verzeichnis von Theateraufführungen ab 1950 von Jacob Michael Rein
eleventyNavigation: eleventyNavigation:
key: Theateraufführungen ab 1950 key: Theateraufführungen ab 1950
parent: Verzeichnisse parent: Verzeichnisse
order: 6 order: 7
--- ---
<div class="mb-4 hyphenation w-full"> <div class="mb-4 hyphenation w-full">

View File

@@ -0,0 +1,47 @@
---
title: Übersetzungen
description: Übersetzungen von Werken von Jacob Michael Reinhold Lenz
eleventyNavigation:
key: Übersetzungen
parent: Verzeichnisse
order: 5
---
<div class="searchbar">
<input type="text" name="keyword" class="form-control input-sm" placeholder="Liste durchsuchen...">
<button class="showifsearching" onclick="searchreset();" alt="Clear the search form">Zurücksetzen</button>
<div class="hideifsearching">
Sprache&nbsp;
<select onchange="window.location.href=this.value" id="listselect">
{% set sprache = "" %}
{% set count = 0 %}
{%- for post in collections.uebersetzungen -%}
{% if count % 1 == 0 and sprache !== post.data.Sprache %}
<option value="#{{ post.data.Sprache }}">{{ post.data.Sprache }}</option>
{% set sprache = post.data.Sprache %}
{% endif %}
{% set count = count + 1 %}
{%- endfor -%}
</select>
</div>
<button id="scrollbutton" href="#top">↑&nbsp;hoch</button>
</div>
<div class="yearlist" id="list">
{% set sprache = "" %}
{%- for post in collections.uebersetzungen -%}
{% if post.data.Sprache !== sprache %}
{% if sprache !== "" %}
</div>
</div>
{% endif %}
{% set sprache = post.data.Sprache %}
<div class="category" id="{{ sprache }}">
<div class="categorytitle !basis-2/12" >{{ sprache }}</div>
<div class="categorybody">
{% endif %}
<div class="searchable">{{ post.content | safe }}</div>
{%- endfor -%}
</div>
</div>
</div>

View File

@@ -45,7 +45,7 @@ eleventyNavigation:
{% endif %} {% endif %}
{% set werk = post.data.Werk %} {% set werk = post.data.Werk %}
<div class="category !mb-12" id="{{ werk }}"> <div class="category !mb-12" id="{{ werk }}">
<div class="categorytitle grow-0 basis-1/5" >{{ werk }}</div> <div class="categorytitle grow-0 !basis-1/5" >{{ werk }}</div>
<div class="categorybody grow shrink-0 basis-4/5"> <div class="categorybody grow shrink-0 basis-4/5">
{% endif %} {% endif %}
<div class="searchable">{{ post.content | safe }}</div> <div class="searchable">{{ post.content | safe }}</div>

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@@ -130,7 +130,7 @@
} }
.yearlist .category .categorytitle { .yearlist .category .categorytitle {
@apply text-xl pr-1 pl-3 grow-0 min-w-[4rem] font-bold self-start z-0 sticky top-14 sm:order-2 @apply text-xl pr-1 pl-3 min-w-[4rem] font-bold self-start z-0 sticky top-14 sm:order-2 shrink-0 grow-0 basis-1/12
} }
.yearlist .category .categorybody { .yearlist .category .categorybody {

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 600 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 MiB

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Before

Width:  |  Height:  |  Size: 247 B

After

Width:  |  Height:  |  Size: 247 B

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 661 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 614 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 663 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 683 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 594 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 634 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 944 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1009 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1023 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 906 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1022 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 934 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB