diff --git a/_layouts/default.html b/_layouts/default.html index 0f62d765..ef7d6034 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,113 +1,126 @@ {%- 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 -%} - - - - - - - - - - - - - -