diff --git a/README.md b/README.md index 1ec65a4..959dcf6 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# Etoile de bethleem - site web +# WeRobot - site web ## Comment installer -- git clone etoiledebethleem/website website +- git clone https://forge.gzod01.fr/werobot/website.git website - cd website ## Comment développer @@ -13,8 +13,3 @@ - hugo -## Idées - -- gallerie avec un scroll : https://staticbattery.com/ (on sera toujours obligé de faire de la navigation) - - diff --git a/config.toml b/config.toml index 362740a..a55e152 100644 --- a/config.toml +++ b/config.toml @@ -1,6 +1,7 @@ baseURL = '/' languageCode = 'fr' defaultContentLanguage = 'fr' +defaultContentLanguageInSubdir = false title = "We Robot" summaryLength = 50 @@ -8,11 +9,25 @@ summaryLength = 50 # THIS IS UNACCEPTALBE, I REALLY THOUGH THIS WAS THE DEFAULT IN HUGO!! assetDir = "assets" + +[languages] +[languages.fr] +languageCode='fr' +languageName="Français" +[languages.en] +languageCode='en' +languageName="English" + [sitemap] changefreq = 'weekly' [params] dateFmt = "02.01.2006 15:04" +slogan = "La Robotique, ensemble" +favicon = "/images/logo.png" +footer_description = """ +Créée en 2017, association locale de robotique pour les jeunes, basée à Gaillon en France. Nous participons à des concours nationaux ou internationaux, gagnant d'un prix au First Global Contest à Washington DC en 2017 et du World Adolescent Robotic Contest à Guyiang, Chine en 2018 +""" [params.defaultImage] local = true @@ -21,6 +36,40 @@ src = "cover/cover.jpg" [taxonomies] imtag = 'imtags' +[menus] + +[[menus.footer_left]] +name="Accueil" +url="/" + +[[menus.footer_left]] +name="Blog" +url="/blog" + +[[menus.footer_left]] +name="Photos" +url="/photos" + +[[menus.footer_left]] +name="Donner" +url="/donate" + +[[menus.footer_right]] +name="À Propos" +url="/about" + +[[menus.footer_right]] +name="Où sommes nous" +url="/about#place" + +[[menus.footer_right]] +name="Nous contacter" +url="/contact" + +[[menus.footer_right]] +name="Mentions Légales" +url="/legals" + # theme = "custom" # [markup] diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index f541d50..6c126fa 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -28,57 +28,31 @@