Browse Source

ToC in FAQ

boyska 8 years ago
parent
commit
6fbca3b63d
6 changed files with 11 additions and 2 deletions
  1. 1 1
      Makefile
  2. 2 0
      content/pages/info.en.md
  3. 2 0
      content/pages/info.es.md
  4. 2 0
      content/pages/info.gr.md
  5. 1 0
      content/pages/info.md
  6. 3 1
      pelicanconf.py

+ 1 - 1
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

+ 2 - 0
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!

+ 2 - 0
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".
 

+ 2 - 0
content/pages/info.gr.md

@@ -4,6 +4,8 @@ Slug: info
 navbar_sort: 3
 lang: gr
 
+[TOC]
+
 ####Σχετικά
 
 Το  Hackmeeting 2015 θα πραγματοποιηθεί στην Νάπολη από τις 19 έως τις 21 Ιουνίου.

+ 1 - 0
content/pages/info.md

@@ -3,6 +3,7 @@ Date: 2015-03-13 12:00
 Slug: info
 navbar_sort: 3
 
+[TOC]
 
 #### Ingresso
 

+ 3 - 1
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']