Dokumenty poprawka
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
tytul: Baza dokumentów
|
||||
opis: Opis bazy dokumentów albo bez
|
||||
tytul: Dokumenty
|
||||
opis: Strona zawiera dokumnety do pobrania lub przeczytania
|
||||
|
||||
grupy:
|
||||
pobierz:
|
||||
tytul: Pobierz wybrany plik
|
||||
tytul: Pobierz
|
||||
pliki:
|
||||
- nazwa: Lista kanałów EVIO TV
|
||||
file: /public/files/EVIO TV.pdf
|
||||
|
||||
@@ -30,8 +30,8 @@ const doc = yaml.load(
|
||||
fs.readFileSync("./src/content/document/documents.yaml", "utf8"),
|
||||
) as DocsYaml;
|
||||
|
||||
const pageTitle = doc?.tytul ?? "Dokumenty";
|
||||
const pageDesc = doc?.opis ?? "";
|
||||
const pageTitle = doc?.tytul;
|
||||
const pageDesc = doc?.opis;
|
||||
|
||||
const groups = doc?.grupy ?? {};
|
||||
const left = groups["otworz"] ?? {};
|
||||
@@ -49,16 +49,6 @@ function normalizePublicHref(input?: string) {
|
||||
---
|
||||
|
||||
<DefaultLayout title={pageTitle} description={pageDesc}>
|
||||
{/* INTRO */}
|
||||
<section class="f-section">
|
||||
<div class="f-section-grid md:grid-cols-1 items-start">
|
||||
<div>
|
||||
<h2 class="f-section-title">{pageTitle}</h2>
|
||||
{pageDesc && <Markdown text={pageDesc} />}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* CONTENT */}
|
||||
<section class="f-section">
|
||||
<div class="f-section-grid md:grid-cols-2 gap-10 items-start">
|
||||
|
||||
Reference in New Issue
Block a user