From 6fbca3b63d8fa8e846e6d05bea945a43863b5f27 Mon Sep 17 00:00:00 2001 From: boyska Date: Mon, 25 Jan 2016 15:07:23 -0500 Subject: [PATCH] ToC in FAQ --- Makefile | 2 +- content/pages/info.en.md | 2 ++ content/pages/info.es.md | 2 ++ content/pages/info.gr.md | 2 ++ content/pages/info.md | 1 + pelicanconf.py | 4 +++- 6 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 06992c0..f0265ea 100644 --- a/Makefile +++ b/Makefile @@ -86,6 +86,6 @@ publish: $(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(PUBLISHCONF) $(PELICANOPTS) autopublish: - while true; do inotifywait -r content publishconf.py Makefile themes -e modify -e create -e delete; make clean publish; sleep 0.1; done + while true; do inotifywait -r content pelicanconf.py publishconf.py Makefile themes -e modify -e create -e delete; make clean publish; sleep 0.1; done .PHONY: html help clean regenerate serve devserver publish ssh_upload rsync_upload dropbox_upload ftp_upload s3_upload cf_upload github diff --git a/content/pages/info.en.md b/content/pages/info.en.md index 94c8907..e1c306a 100644 --- a/content/pages/info.en.md +++ b/content/pages/info.en.md @@ -4,6 +4,8 @@ Slug: info navbar_sort: 3 lang: en +[TOC] + #### Entrance As every year, entrance to Hackmeeting is completely free: remember, however, that organization of the Hackmeeting has a cost, and subscriptions are necessary for the subsistance of the event! diff --git a/content/pages/info.es.md b/content/pages/info.es.md index f136f30..3788902 100644 --- a/content/pages/info.es.md +++ b/content/pages/info.es.md @@ -4,6 +4,8 @@ Slug: info navbar_sort: 3 lang: es +[TOC] + ## Donde El Hackmeeting 2015 se realizará en el espacio okupado Mensa Occupata, en pleno centro de Nápoles. La dirección es "Via Mezzocannone". diff --git a/content/pages/info.gr.md b/content/pages/info.gr.md index 6ae08f2..a2721a4 100644 --- a/content/pages/info.gr.md +++ b/content/pages/info.gr.md @@ -4,6 +4,8 @@ Slug: info navbar_sort: 3 lang: gr +[TOC] + ####Σχετικά Το Hackmeeting 2015 θα πραγματοποιηθεί στην Νάπολη από τις 19 έως τις 21 Ιουνίου. diff --git a/content/pages/info.md b/content/pages/info.md index 3360668..f730519 100644 --- a/content/pages/info.md +++ b/content/pages/info.md @@ -3,6 +3,7 @@ Date: 2015-03-13 12:00 Slug: info navbar_sort: 3 +[TOC] #### Ingresso diff --git a/pelicanconf.py b/pelicanconf.py index 2b32ee6..d4f940f 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -29,7 +29,7 @@ SOCIAL = None DEFAULT_PAGINATION = 10 # Uncomment following line if you want document-relative URLs when developing -#RELATIVE_URLS = True +# RELATIVE_URLS = True DISPLAY_CATEGORIES_ON_MENU = False DEFAULT_DATE = (2015, 3, 1) @@ -50,3 +50,5 @@ BOOTSTRAP_THEME = 'cyborg' HIDE_SIDEBAR = True PLUGIN_PATHS = ['plugins'] PLUGINS = ['langmenu'] + +MD_EXTENSIONS = ['toc']