From 1ef1a33d9443c639fef2b2f6919a416597f5b388 Mon Sep 17 00:00:00 2001 From: Victor Date: Tue, 20 Dec 2016 21:15:49 +0100 Subject: [PATCH] activation du plugin extract_toc --- content/Système/installationseagatedockstar12.md | 7 ++++--- content/Système/installationseagatedockstar22.md | 1 + pelicanconf.py | 5 ++++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/content/Système/installationseagatedockstar12.md b/content/Système/installationseagatedockstar12.md index 90d69ea..09c742f 100644 --- a/content/Système/installationseagatedockstar12.md +++ b/content/Système/installationseagatedockstar12.md @@ -1,4 +1,5 @@ Title: Installation d'un seagate dockstar 1/2 +subtitle: ; Parlons dockstar Date: 2012-08-12 21:54 Modified: 2012-08-12 21:54 Category: Système @@ -7,7 +8,7 @@ Slug: installation-dockstar-12 Authors: Victor Status: published - +[TOC] # Déballage et configuration initiale @@ -156,7 +157,7 @@ Dans ce fichier, cherchez la ligne « /etc/init.d/hbmgr.sh start » et mettez l devient : ``` -#/etc/init.d/hbmgr.sh start + #/etc/init.d/hbmgr.sh start ``` Le # sert de commentaire dans ce fichier. @@ -165,4 +166,4 @@ Voila le préambule à la connexion effectué. Maintenant, vous pouvez connecter Cependant, avant d'aller plus loin, poussons la curiosité et découvrons un peu ce qu'il a dans le ventre. -La deuxième partie est disponible [ici]() +La deuxième partie est disponible [ici]({filename}installationseagatedockstar22.md) diff --git a/content/Système/installationseagatedockstar22.md b/content/Système/installationseagatedockstar22.md index bcdb967..1866916 100644 --- a/content/Système/installationseagatedockstar22.md +++ b/content/Système/installationseagatedockstar22.md @@ -1,4 +1,5 @@ Title: Installation d'un seagate dockstar 2/2 +subtitle: ; Parlons dockstar Date: 2012-08-13 21:54 Modified: 2012-08-13 21:54 Category: Système diff --git a/pelicanconf.py b/pelicanconf.py index 48cc0c6..bf8a40b 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -17,12 +17,15 @@ DEFAULT_PAGINATION = 4 #Plugins PLUGIN_PATHS = ['../pelican-plugins'] -PLUGINS = ['pelican_comment_system'] +PLUGINS = ['pelican_comment_system', 'extract_toc'] PELICAN_COMMENT_SYSTEM = True PELICAN_COMMENT_SYSTEM_IDENTICON_DATA = ('author',) PELICAN_COMMENT_SYSTEM_DIR = 'comments' COMMENT_URL = "#comment_{slug}" +#Markdown PLUGINS +MD_EXTENSIONS = (['toc']) + TIMEZONE = 'Europe/Paris' DEFAULT_LANG = u'fr'