diff --git a/.jekyll-metadata b/.jekyll-metadata deleted file mode 100644 index 3aa62748..00000000 Binary files a/.jekyll-metadata and /dev/null differ diff --git a/_data/nav.yml b/_data/nav.yml index 3eab4cb7..c97b45ee 100644 --- a/_data/nav.yml +++ b/_data/nav.yml @@ -1,6 +1,3 @@ -index: - fr: Accueil - en: Home # collection: # fr: Galerie # en: Gallery diff --git a/_layouts/default.html b/_layouts/default.html index 57d718de..7a850fb8 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,112 +1,122 @@ {%- assign lang = page.lang | default: "fr" -%} - - - - {{ page.title }} - {{ site.title }} - - - - - - {%- if page.description -%} - - - {%- endif -%} - - {%- if page.image -%} - - {% elsif page.scene %} - - {%- else -%} - - - - {%- endif -%} - - {%- if page.lang -%} - {%- if page.lang == "fr" -%} - {%- assign alt_lang = "en" -%} - {%- assign alt_url = page.url | replace_first: "/fr/", "/en/" -%} - {%- else -%} - {%- assign alt_lang = "fr" -%} - {%- assign alt_url = page.url | replace_first: "/en/", "/fr/" -%} - {%- endif -%} - {%- assign alt = site.pages | where:"url", alt_url | first -%} - - {%- if alt -%} - - - {%- endif -%} - {%- endif -%} - - - - - - - - - - - - - -