From 31588c8000eaff11314d5c35ad1a6f5bbc547ee0 Mon Sep 17 00:00:00 2001 From: Gaspard Date: Mon, 19 Mar 2018 22:46:27 +0100 Subject: [PATCH] =?UTF-8?q?[config]=20mise=20=C3=A0=20jour=20jekyll=203.x?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _config.yml | 9 ++++----- _layouts/default.html | 24 ++++++++++++------------ 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/_config.yml b/_config.yml index 0896156..aba5597 100644 --- a/_config.yml +++ b/_config.yml @@ -3,20 +3,19 @@ destination: ./_site markdown: kramdown -port: 8080 safe: true -pygments: true +highlighter: rouge style: light -title: 'Gaspard Jankowiak · RICAM · ÖAW' +title: 'Gaspard Jankowiak · TU Wien' header-title-fr: 'Page personnelle de Gaspard Jankowiak' -header-subtitle-fr: 'Postdoc l´Université de Vienne
gaspard.jankowiak@math.cnrs.fr' +header-subtitle-fr: 'Postdoc l´Université Technique de Vienne
gaspard.jankowiak@math.cnrs.fr' header-homelink-fr: '/' header-title-en: "Gaspard Jankowiak's homepage" -header-subtitle-en: 'Postdoctoral fellow at the University of Vienna
gaspard.jankowiak@math.cnrs.fr' +header-subtitle-en: 'Postdoctoral fellow at the TU Vienna
gaspard.jankowiak@math.cnrs.fr' header-homelink-en: '/en' pretty: permalinks diff --git a/_layouts/default.html b/_layouts/default.html index 287fec9..25384a7 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,16 +1,16 @@ -{% if page:lang %} - +{% if page.lang %} + {% else %} {% endif %} - {% if page:title %} - {{ page:title }} + {% if page.title %} + {{ page.title }} {% else %} - {{ site:title }} + {{ site.title }} {% endif %} @@ -46,13 +46,13 @@
- {% assign homelink = site:header-homelink-fr %} - {% assign title = site:header-title-fr %} - {% assign subtitle = site:header-subtitle-fr %} - {% if page:lang == 'en' %} - {% assign homelink = site:header-homelink-en %} - {% assign title = site:header-title-en %} - {% assign subtitle = site:header-subtitle-en %} + {% assign homelink = site.header-homelink-fr %} + {% assign title = site.header-title-fr %} + {% assign subtitle = site.header-subtitle-fr %} + {% if page.lang == 'en' %} + {% assign homelink = site.header-homelink-en %} + {% assign title = site.header-title-en %} + {% assign subtitle = site.header-subtitle-en %} {% endif %}

{{ title }}

{{ subtitle }}