diff options
author | Tobias Weingartner <[email protected]> | 2016-04-30 14:16:19 -0700 |
---|---|---|
committer | Tobias Weingartner <[email protected]> | 2016-04-30 14:16:19 -0700 |
commit | 20dfaab703d44745c58a04d67b6f2893246e0969 (patch) | |
tree | bda53b2803cc879cbf0bcd1202f431d5290691db | |
parent | 249c9a17f58cd4d58a92a158a01508347bedfc8e (diff) | |
download | caddy-20dfaab703d44745c58a04d67b6f2893246e0969.tar.gz caddy-20dfaab703d44745c58a04d67b6f2893246e0969.zip |
Nuke unused function.
-rw-r--r-- | middleware/markdown/markdown.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/middleware/markdown/markdown.go b/middleware/markdown/markdown.go index 00e0f72de..11078e7b9 100644 --- a/middleware/markdown/markdown.go +++ b/middleware/markdown/markdown.go @@ -33,16 +33,6 @@ type Markdown struct { IndexFiles []string } -// IsIndexFile checks to see if a file is an index file -func (md Markdown) IsIndexFile(file string) bool { - for _, f := range md.IndexFiles { - if f == file { - return true - } - } - return false -} - // Config stores markdown middleware configurations. type Config struct { // Markdown renderer |