mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
Nuke unused function.
This commit is contained in:
parent
249c9a17f5
commit
20dfaab703
1 changed files with 0 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue