Commit 20dfaab7 authored by Tobias Weingartner's avatar Tobias Weingartner

Nuke unused function.

parent 249c9a17
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment