1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

Add ToC to long pages

* A compact, fixed box in the right screen
* Only for big screens, > 1200 px wide
This commit is contained in:
bep
2015-05-11 18:39:40 +02:00
parent be16e5ffb9
commit be4f48652d
17 changed files with 80 additions and 14 deletions

View File

@@ -6,6 +6,7 @@ menu:
next: /extras/livereload
prev: /extras/comments
title: Cross-References
toc: true
weight: 40
---

View File

@@ -9,6 +9,7 @@ next: /extras/highlighting
prev: /extras/datafiles
title: Dynamic Content
weight: 91
toc: true
---
Dynamic content with a static site generator? Yes, it is possible!

View File

@@ -9,6 +9,7 @@ next: /extras/toc
prev: /extras/shortcodes
title: Syntax Highlighting
weight: 90
toc: true
---
Hugo provides the ability for you to highlight source code in two different

View File

@@ -1,5 +1,7 @@
---
date: 2014-05-14T02:36:37Z
toc: true
tocstyle: compact
menu:
main:
parent: extras

View File

@@ -9,6 +9,8 @@ next: /extras/pagination
prev: /extras/permalinks
title: Shortcodes
weight: 80
toc: true
tocstyle: compact
---
Hugo uses Markdown for its simple content format. However, there are a lot