From de9b5825fb4131ec06856f4bbd5b52977c1fe95a Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Mon, 14 Sep 2020 18:20:16 +0200 Subject: [PATCH] =?UTF-8?q?Polo=C5=BEky=20v=20menu=20se=20definuj=C3=AD=20?= =?UTF-8?q?do=20pole=20v=20config.toml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.toml | 9 +++++++++ templates/index.html | 11 +++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/config.toml b/config.toml index 89dc152..c912e8e 100644 --- a/config.toml +++ b/config.toml @@ -22,3 +22,12 @@ taxonomies = [ [extra] # Put all your custom variables here +menu = [ + {name="Polévky", path="/kategorie/polevky/"}, + {name="Maso", path="/kategorie/maso/"}, + {name="Těstoviny & Rýže", path="/kategorie/testoviny-a-ryze/"}, + {name="Zelenina", path="/kategorie/zelenina/"}, + {name="Přílohy", path="/kategorie/prilohy/"}, + {name="Dezerty", path="/kategorie/dezerty/"}, + {name="Nápoje", path="/kategorie/napoje/"}, +] diff --git a/templates/index.html b/templates/index.html index 353a8fa..2c57971 100644 --- a/templates/index.html +++ b/templates/index.html @@ -18,14 +18,9 @@