From 22b757af9ec278d54a8f83c0d5df4b82ffa27d73 Mon Sep 17 00:00:00 2001 From: mazenovi <vmazenod@gmail.com> Date: Wed, 14 Jun 2017 17:34:27 +0200 Subject: [PATCH] static page as home --- content/pages/moi.md | 18 +++++++++++++++++- pelicanconf.py | 4 ++++ themes/limos/templates/base.html | 5 +++++ 3 files changed, 26 insertions(+), 1 deletion(-) diff --git a/content/pages/moi.md b/content/pages/moi.md index f50523f..7d3a6ff 100644 --- a/content/pages/moi.md +++ b/content/pages/moi.md @@ -1,4 +1,20 @@ Title: <i class="fa fa-briefcase" aria-hidden="true"></i> À propos Date: 2010-05-17 10:27 +save_as: index.html -## Cette page est actuellement en cours de construction +Bienvenue sur ma page perso, + +Je suis ingénieur d'études CNRS depuis 2002. + +Au LIMOS j'interviens à différents niveaux dans des projets recherches + +* montage du projet +* gestion du projet +* développement logiciel lié au projet + +Vous trouverez ici + +* la liste des [projets](/projets.html) auquels je participe +* mon [blog](/blog.html) qui référence des notes techniques et des idées à développer +* les rapports de [recherche](/recherche.html) aux quels j'ai participé +* des supports de [cours](/cours) diff --git a/pelicanconf.py b/pelicanconf.py index 359d45a..cfcc50f 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -39,6 +39,10 @@ SOCIAL = ( ) ) +INDEX_SAVE_AS = 'blog.html' +INDEX_LABEL = '<i class="fa fa-lightbulb-o" aria-hidden="true"></i> Blog' +HIDE_SIDEBAR = 'true' + CC_LICENSE = "CC-BY-NC-ND" # "CC-BY" (require attribution) # "CC-BY-SA" (require ShareAlike) diff --git a/themes/limos/templates/base.html b/themes/limos/templates/base.html index ca1ae7e..6b5773c 100644 --- a/themes/limos/templates/base.html +++ b/themes/limos/templates/base.html @@ -134,6 +134,11 @@ {% endif %} {% endfor %} {% endif %} + {% if INDEX_SAVE_AS %} + <li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ INDEX_SAVE_AS }}"> + {{ INDEX_LABEL }} + </a></li> + {% endif %} {% if DISPLAY_CATEGORIES_ON_MENU %} {% for cat, null in categories %} <li {% if cat == category %}class="active"{% endif %}> -- GitLab