From a47259b220584ee6f6ba4c800baf2129980ded55 Mon Sep 17 00:00:00 2001 From: Romain Prieto Date: Sun, 16 Oct 2016 13:51:32 +1100 Subject: [PATCH] Fix README table of contents --- README.md | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dec5796..bc20683 100644 --- a/README.md +++ b/README.md @@ -28,9 +28,11 @@ Build static HTML galleries from local photos & videos. - [Expected output](#expected-output) - [Configuration](#configuration) - [Generated gallery structure](#generated-gallery-structure) +- [Themes](#themes) - [Deployment](#deployment) - [Password protection](#password-protection) - [Dev notes](#dev-notes) + ## Example gallery diff --git a/package.json b/package.json index 70e10b2..d7cdd54 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "clean": "rm -rf docs/*", "example": "node bin/thumbsup --config example.json", "open": "open docs/index.html", - "readme": "markdown-toc README.md | node-injectmd -t toc -i README.md" + "readme": "markdown-toc README.md | awk 1 | node-injectmd -t toc -i README.md" }, "bin": { "thumbsup": "./bin/thumbsup.js"