From e3196c7ad5453ba4254a027a19a71ab15ac434f1 Mon Sep 17 00:00:00 2001 From: maxbachmann Date: Sun, 5 May 2019 23:04:39 +0200 Subject: [PATCH] make navbar template more readable --- databags/nav-bar.ini | 24 +++++++++++ databags/navigation.ini | 9 ++-- templates/layout.html | 91 +++++++++++++---------------------------- 3 files changed, 59 insertions(+), 65 deletions(-) create mode 100644 databags/nav-bar.ini diff --git a/databags/nav-bar.ini b/databags/nav-bar.ini new file mode 100644 index 0000000..f985126 --- /dev/null +++ b/databags/nav-bar.ini @@ -0,0 +1,24 @@ +[NavBar] +Blog = '/blog' +Rezept = '/rezept' +mitglied = '/mitmachen' +Kontakt = '/kontakt' + + +[Rezept] +show_projekt = '/rezept/' +xml = '/feed_projekte.xml' + + +[Kontakt] +Kontakt = '/kontakt' +Impressum = '/impressum' +Datenschutz = '/datenschutz' + +[Blog] +Alle-Beitraege = '/blog/' +RSS-Feed = '/feed_blog.xml' + +[list] +Rezept = '/rezept/' +Blog = '/blog/' diff --git a/databags/navigation.ini b/databags/navigation.ini index 0ae752c..19541f5 100644 --- a/databags/navigation.ini +++ b/databags/navigation.ini @@ -7,7 +7,7 @@ Rezept = Rezepte Kontakt = Kontakt Impressum = Impressum Datenschutz = Datenschutz -xml = als XML-Feed +xml = Rezepte als XML-Feed mitglied = Werde Teil der Waffel Crew Anfahrt = Anfahrt fragen = Häufige Fragen @@ -18,6 +18,8 @@ Englisch = English falls = if available show_projekt = Alle Rezepte default_path = 'en' +RSS-Feed = RSS Feed +Alle-Beitraege = Alle Beiträge [en] home = Start @@ -26,7 +28,7 @@ Rezept = Recipes Kontakt = Contact Impressum = Imprint Datenschutz = Data protection -xml = as XML feed +xml = Recipes as XML feed mitglied = become part of our waffle crew Anfahrt = Approach fragen = Frequently Asked Questions @@ -37,4 +39,5 @@ English = English falls = if available show_projekt = All recipes default_path = '' - +RSS-Feed = RSS Feed +Alle-Beitraege = all news diff --git a/templates/layout.html b/templates/layout.html index eb0e32e..f6cca41 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -107,69 +107,36 @@